fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the error limiting the size of gallery sidebar.
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
view_history.js
diff --git
a/src/redakcja/static/js/wiki/view_history.js
b/src/redakcja/static/js/wiki/view_history.js
index
85adca0
..
8744995
100644
(file)
--- a/
src/redakcja/static/js/wiki/view_history.js
+++ b/
src/redakcja/static/js/wiki/view_history.js
@@
-47,7
+47,7
@@
event.preventDefault();
});
event.preventDefault();
});
-
$('#changes-list .entry').live('click
', function(){
+
$(document).on('click', '#changes-list .entry
', function(){
var $this = $(this);
var selected_count = $("#changes-list .entry.selected").length;
var $this = $(this);
var selected_count = $("#changes-list .entry.selected").length;
@@
-64,11
+64,11
@@
};
$('#history-view-editor .toolbar button').attr('disabled', 'disabled').
};
$('#history-view-editor .toolbar button').attr('disabled', 'disabled').
-
filter('*[data-enabled-when~=' + selected_count + '], *[data-enabled-when~=*
]').
+
filter('*[data-enabled-when~="' + selected_count + '"
]').
attr('disabled', null);
});
attr('disabled', null);
});
-
$('#changes-list span.tag').live('click
', function(event){
+
$(document).on('click', '#changes-list span.tag
', function(event){
return false;
});
return false;
});