NIHVIVO-2154 dwr/util.js overwrites $, so use jQuery() rather than $()
This commit is contained in:
parent
a6f579bd5d
commit
3134054f7b
1 changed files with 4 additions and 2 deletions
|
@ -2,9 +2,11 @@
|
|||
|
||||
$(document).ready(function(){
|
||||
|
||||
// Use jQuery() instead of $() alias, because dwr/util.js, loaded on back end editing
|
||||
// pages, overwrites $.
|
||||
// fade out welcome-message when user logs in
|
||||
$('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
|
||||
jQuery('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
|
||||
|
||||
// fade in flash-message when user logs out
|
||||
$('section#flash-message').css('display', 'none').fadeIn(1500);
|
||||
jQuery('section#flash-message').css('display', 'none').fadeIn(1500);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue