mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 12:54:41 +00:00
fix for select tests after default to native
This commit is contained in:
parent
4fe0b29a0f
commit
14f43ace9b
3 changed files with 12 additions and 5 deletions
|
|
@ -7,16 +7,15 @@
|
|||
|
||||
<script type="text/javascript" src="../../../js/jquery.js"></script>
|
||||
<script src="../jquery.setNameSpace.js"></script>
|
||||
<script type="text/javascript" src="../../../js/"></script>
|
||||
<script type="text/javascript" src="../../../external/qunit.js"></script>
|
||||
<script type="text/javascript" src="../../../tests/jquery.testHelper.js"></script>
|
||||
<script type="text/javascript" src="select_events.js"></script>
|
||||
<script type="text/javascript" src="select_core.js"></script>
|
||||
<script type="text/javascript" src="../../../js"></script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../themes/default/" type="text/css"/>
|
||||
<link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
|
||||
<script type="text/javascript" src="../../../external/qunit.js"></script>
|
||||
|
||||
<script type="text/javascript" src="select_events.js"></script>
|
||||
<script type="text/javascript" src="select_core.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
(function($){
|
||||
var libName = "jquery.mobile.forms.select.js";
|
||||
|
||||
$(document).bind('mobileinit', function(){
|
||||
$.mobile.selectmenu.prototype.options.nativeMenu = false;
|
||||
});
|
||||
|
||||
module(libName, {
|
||||
teardown: function(){ location.hash = ""; }
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@
|
|||
var mouseUpTouchEnd = $.support.touch ? "touchend" : "mouseup",
|
||||
libName = "jquery.mobile.forms.select.js";
|
||||
|
||||
$(document).bind('mobileinit', function(){
|
||||
$.mobile.selectmenu.prototype.options.nativeMenu = false;
|
||||
});
|
||||
|
||||
module(libName, {
|
||||
teardown: function(){ location.hash = ""; }
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue