mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Don't trigger "Exception thrown and not caught" error in jQuery 1.5.2 in IE
git-svn-id: https://develop.svn.wordpress.org/trunk@17783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6,7 +6,7 @@ jQuery(document).ready( function($) {
|
||||
'dashboard_incoming_links',
|
||||
'dashboard_primary',
|
||||
'dashboard_secondary',
|
||||
'dashboard_plugins',
|
||||
'dashboard_plugins'
|
||||
];
|
||||
|
||||
ajaxPopulateWidgets = function(el) {
|
||||
@@ -28,8 +28,8 @@ jQuery(document).ready( function($) {
|
||||
if ( $.inArray(el, ajaxWidgets) != -1 )
|
||||
show(el, 0);
|
||||
} else {
|
||||
$.each( ajaxWidgets, function(i) {
|
||||
show(this, i);
|
||||
$.each( ajaxWidgets, function(i, id) {
|
||||
show(id, i);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user