Skip to content
Browse files

Added comment explaining empty setTimeout in test.

  • Loading branch information...
1 parent 5a02567 commit 21565375ec7c277e40a1a4828e83ee88bca55445 @Wilto Wilto committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/select/select_native.js
View
2 tests/unit/select/select_native.js
@@ -76,7 +76,7 @@
ok( $.mobile.zoom.enabled === false, "zoom is disabled on vmousedown" );
})
.one("mouseup.test", function(){
- setTimeout(function() {
+ setTimeout(function() { // This empty setTimeout is to match the work-around for the issue reported in https://github.com/jquery/jquery-mobile/issues/5041
ok( $.mobile.zoom.enabled === true, "zoom is enabled on mouseup" );
$.mobile.selectmenu.prototype.options.preventFocusZoom = zoomoptiondefault;
$(document).unbind(".test");

0 comments on commit 2156537

Please sign in to comment.
Something went wrong with that request. Please try again.