fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usunięcie zagubionego console.log z kodu.
[redakcja.git]
/
project
/
templates
/
explorer
/
file_xml.html
diff --git
a/project/templates/explorer/file_xml.html
b/project/templates/explorer/file_xml.html
index
719713e
..
314c08e
100644
(file)
--- a/
project/templates/explorer/file_xml.html
+++ b/
project/templates/explorer/file_xml.html
@@
-24,6
+24,7
@@
$('#toggle-sidebar').toggle(function() {
$('#images-wrap').width(480);
$('#sidebar').width(488);
$('#toggle-sidebar').toggle(function() {
$('#images-wrap').width(480);
$('#sidebar').width(488);
+ $('#images-wrap').data('lazyload:lastCheckedScrollTop', -10000);
resizePanels();
}, function() {
$('#images-wrap').width(0);
resizePanels();
}, function() {
$('#images-wrap').width(0);
@@
-79,11
+80,12
@@
});
editor.grabKeys(function(event) {
});
editor.grabKeys(function(event) {
- console.log('handle', event, event.keyCode)
if (keys[event.keyCode]) {
keys[event.keyCode]();
}
if (keys[event.keyCode]) {
keys[event.keyCode]();
}
- }, function(event) { return event.ctrlKey && event.keyCode != 17; });
+ }, function(event) {
+ return event.ctrlKey && keys[event.keyCode];
+ });
resizePanels();
}
resizePanels();
}