Authored by 陈轩

fix

@@ -37,7 +37,7 @@ class Overlay { @@ -37,7 +37,7 @@ class Overlay {
37 // 初始化参数 37 // 初始化参数
38 this.settings = Object.assign({}, this.defaults, opts); 38 this.settings = Object.assign({}, this.defaults, opts);
39 39
40 - this.settings.animationClasses = { in : ANIMATIONS[this.settings.animation].in, 40 + this.settings.animationClasses = { in: ANIMATIONS[this.settings.animation].in,
41 out: ANIMATIONS[this.settings.animation].out 41 out: ANIMATIONS[this.settings.animation].out
42 }; 42 };
43 43
@@ -58,7 +58,7 @@ class Overlay { @@ -58,7 +58,7 @@ class Overlay {
58 if (this.isVisible) { 58 if (this.isVisible) {
59 e.preventDefault(); 59 e.preventDefault();
60 } 60 }
61 - }) 61 + });
62 } 62 }
63 63
64 this.elem[0].addEventListener('webkitTransitionEnd', this._cleanup.bind(this)); 64 this.elem[0].addEventListener('webkitTransitionEnd', this._cleanup.bind(this));
@@ -78,8 +78,8 @@ class Overlay { @@ -78,8 +78,8 @@ class Overlay {
78 this.elem.appendTo('body'); 78 this.elem.appendTo('body');
79 79
80 this.elem.css({ 80 this.elem.css({
81 - visibility: 'visible'  
82 - }).show() 81 + visibility: 'visible'
  82 + }).show()
83 .removeClass(this.settings.animationClasses.out) 83 .removeClass(this.settings.animationClasses.out)
84 .addClass(this.settings.animationClasses.in); 84 .addClass(this.settings.animationClasses.in);
85 85
@@ -106,6 +106,7 @@ @@ -106,6 +106,7 @@
106 .filter-detail { 106 .filter-detail {
107 height: 100%; 107 height: 100%;
108 overflow: auto; 108 overflow: auto;
  109 + -webkit-overflow-scrolling : touch;
109 } 110 }
110 111
111 .filter-sort { 112 .filter-sort {