smartphoto
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -267,2 +267,3 @@ 'use strict'; | ||
var index = group[groupId].length; | ||
var body = document.querySelector('body'); | ||
var item = { | ||
@@ -300,2 +301,3 @@ src: element.getAttribute('href'), | ||
_this4.update(); | ||
body.style.overflow = 'hidden'; | ||
_this4._fireEvent('open'); | ||
@@ -308,2 +310,3 @@ } else { | ||
_this4.update(); | ||
body.style.overflow = 'hidden'; | ||
_this4._fireEvent('open'); | ||
@@ -431,2 +434,3 @@ }); | ||
var scrollY = window.scrollY; | ||
var body = document.querySelector('body'); | ||
if (location.hash) { | ||
@@ -438,2 +442,3 @@ this._setHash(''); | ||
_this7.update(); | ||
body.style.overflow = ''; | ||
_this7._fireEvent('close'); | ||
@@ -440,0 +445,0 @@ }); |
{ | ||
"name": "smartphoto", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "smartphoto", | ||
@@ -5,0 +5,0 @@ "homepage": "http://developer.a-blogcms.jp", |
@@ -229,2 +229,3 @@ import ATemplate from 'a-template'; | ||
const index = group[groupId].length; | ||
const body = document.querySelector('body'); | ||
const item = { | ||
@@ -262,2 +263,3 @@ src: element.getAttribute('href'), | ||
this.update(); | ||
body.style.overflow = 'hidden'; | ||
this._fireEvent('open'); | ||
@@ -270,2 +272,3 @@ } else { | ||
this.update(); | ||
body.style.overflow = 'hidden'; | ||
this._fireEvent('open'); | ||
@@ -382,2 +385,3 @@ }); | ||
const scrollY = window.scrollY; | ||
const body = document.querySelector('body'); | ||
if (location.hash) { | ||
@@ -389,2 +393,3 @@ this._setHash(''); | ||
this.update(); | ||
body.style.overflow = ''; | ||
this._fireEvent('close'); | ||
@@ -391,0 +396,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7454456
11299