Subversion Repositories SmartDukaan

Rev

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

Rev 14935 Rev 14936
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(e){
509
$('.notificationok').on('click',function(e){
510
	e.preventDefault();
510
	e.preventDefault();
511
	$('.notificationmodal').modal('hide');
511
	$('.notificationmodal').modal('hide');
512
	setTimeout(function(){ $('.notificationmodal').modal('hide'); }, 1000);
512
	setTimeout(function(){ $('.notificationmodal').modal('hide'); }, 1000);
513
	document.location = $(this).parent().prop('href');
513
	document.location = $(this).parent().prop('href');
514
})
514
})
515
515