diff options
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r-- | ishtar_common/static/js/ishtar.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index b91558194..4d11fcde3 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -56,21 +56,21 @@ $(document).ready(function(){ }) }); -$('#to_bottom_arrow').live('click', function(){ +$(document).on("click", '#to_bottom_arrow', function(){ $("html, body").animate({ scrollTop: $(document).height() }, 1000); }); -$('#to_top_arrow').live('click', function(){ +$(document).on("click", '#to_top_arrow', function(){ $("html, body").animate({ scrollTop: 0}, 1000); }); -$('.check-all').live('click', function(){ +$(document).on("click", '.check-all', function(){ $(this).closest('table' ).find('input:checkbox' ).attr('checked', $(this).is(':checked')); }); -$("#main_menu ul li").live('click', function(){ +$(document).on("click", '#main_menu ul li', function(){ var current_id = $(this).attr('id'); console.log(current_id); $("#main_menu ul ul").not($(this).parents('ul')).not($(this).find('ul') @@ -79,12 +79,12 @@ $("#main_menu ul li").live('click', function(){ }); /* manage help texts */ -$(".help_display").live("click", function(){ +$(document).on("click", '.help_display', function(){ var help_text_id = $(this).attr("href") + "_help"; $(help_text_id).toggle(); }); -$('#progress-content').live('click', function(){ +$(document).on("click", '#progress-content', function(){ $('#progress').hide(); }); |