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:
Andrew Ozz
2011-04-30 19:42:31 +00:00
parent 703a0e99e1
commit 1263400a3d
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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);
});
}
};