Subversion Repositories SmartDukaan

Rev

Rev 14931 | Rev 14935 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14931 Rev 14932
Line 504... Line 504...
504
  alert("This feature requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API.");
504
  alert("This feature requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API.");
505
} else {
505
} else {
506
  // Handle page visibility change   
506
  // Handle page visibility change   
507
  document.addEventListener(visibilityChange, handleVisibilityChange, false);
507
  document.addEventListener(visibilityChange, handleVisibilityChange, false);
508
}    
508
}    
509
$('#notificationok').on('click',function(){
509
$('#notificationok').on('click',function(e){
-
 
510
	e.preventDefault();
510
	$('.notificationmodal').modal('hide');
511
	$('.notificationmodal').modal('hide');
-
 
512
	document.location = $(this).parent().prop('href');
511
})
513
})
512
514