$('#toggle-sidebar').toggle(function() {
$('#images-wrap').width(480);
$('#sidebar').width(488);
+ $('#images-wrap').data('lazyload:lastCheckedScrollTop', -10000);
resizePanels();
}, function() {
$('#images-wrap').width(0);
if (keys[event.keyCode]) {
keys[event.keyCode]();
}
- }, function(event) { return event.ctrlKey && event.keyCode != 17; });
+ }, function(event) {
+ return event.ctrlKey && keys[event.keyCode];
+ });
resizePanels();
}