// Fix bug JQuery on handler

This commit is contained in:
Jerome Nadaud
2013-11-06 15:49:44 +01:00
parent 56230a1f53
commit 616cc91eb2
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -46,21 +46,21 @@ $(document).ready(function(){
});
// if count warnings
$('#linkSeeMore').on('click', function(e){
$(document).on('click', '#linkSeeMore', function(e){
e.preventDefault();
$('#seeMore').show();
$(this).hide();
$('#linkHide').show();
return false;
});
$('#linkHide').on('click', function(e){
$(document).on('click', '#linkHide', function(e){
e.preventDefault();
$('#seeMore').hide();
$(this).hide();
$('#linkSeeMore').show();
return false;
});
$('#hideWarn').on('click', function(e){
$(document).on('click', '#hideWarn', function(e){
e.preventDefault();
$('.warn').hide('slow', function (){
$('.warn').remove();