aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/progressbar/download.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/progressbar/download.html b/demos/progressbar/download.html
index 7e197d571..1253176a4 100644
--- a/demos/progressbar/download.html
+++ b/demos/progressbar/download.html
@@ -59,7 +59,7 @@
text: "Close",
click: closeDownload
}]);
- $(".ui-dialog button").last().focus();
+ $(".ui-dialog button").last().trigger( "focus" );
}
});
@@ -81,7 +81,7 @@
progressbar.progressbar( "value", false );
progressLabel
.text( "Starting download..." );
- downloadButton.focus();
+ downloadButton.trigger( "focus" );
}
});
</script>