projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d2c6b1
)
ie8 compat
author
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 10 Jul 2014 13:18:42 +0000
(15:18 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Thu, 10 Jul 2014 13:18:42 +0000
(15:18 +0200)
skins/photo_lightbox_viewer.js
patch
|
blob
|
history
diff --git
a/skins/photo_lightbox_viewer.js
b/skins/photo_lightbox_viewer.js
index
017dbc0
..
23f6f77
100644
(file)
--- a/
skins/photo_lightbox_viewer.js
+++ b/
skins/photo_lightbox_viewer.js
@@
-23,7
+23,8
@@
Lightbox = function(grid, toolbar, complete) {
addListener(window, 'scroll', function(evt){self.windowScrollToolbarlHandler(evt);});
}
addListener(window, 'scroll', function(evt){self.windowScrollGridHandler(evt);});
addListener(window, 'scroll', function(evt){self.windowScrollToolbarlHandler(evt);});
}
addListener(window, 'scroll', function(evt){self.windowScrollGridHandler(evt);});
- addListener(window, 'load', function(evt){ self.windowScrollGridHandler();});
+ // addListener(window, 'load', function(evt){ self.windowScrollGridHandler();});
+ registerStartupFunction(function(){ self.windowScrollGridHandler();});
this.lastCBChecked = undefined;
this.form = undefined;
var parent = this.grid.parentNode;
this.lastCBChecked = undefined;
this.form = undefined;
var parent = this.grid.parentNode;