[dw-nonfree] Quick tweak: Use jQuery's document.ready function instead of DW.whenPageLoaded
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/2309affcfc80]
http://bugs.dwscoalition.org/show_bug.cgi?id=3670
Remove DW.whenPageLoaded, replace with jQuery's
$(document).ready(function...) -- short form $(function...)
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3670
Remove DW.whenPageLoaded, replace with jQuery's
$(document).ready(function...) -- short form $(function...)
Patch by
Files modified:
- htdocs/js/homepage_loggedin.js
--------------------------------------------------------------------------------
diff -r 2aafbbf7dcc0 -r 2309affcfc80 htdocs/js/homepage_loggedin.js
--- a/htdocs/js/homepage_loggedin.js Mon May 02 19:40:01 2011 +0800
+++ b/htdocs/js/homepage_loggedin.js Thu May 12 16:30:28 2011 +0800
@@ -16,7 +16,7 @@
*/
-DW.whenPageLoaded( function() {
+jQuery( function($) {
/**
* Add appwidget-first class to first widgets in each column
*/
--------------------------------------------------------------------------------
