mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-21 06:40:59 +00:00
Merge branch 'select_event_bubbling' of https://github.com/ehynds/jquery-mobile into ehynds-select_event_bubbling
Conflicts: js/jquery.mobile.forms.select.js
This commit is contained in:
parent
e2eb9e9298
commit
ca8d9b9fed
1 changed files with 5 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
//button events
|
||||
button.bind( $.support.touch ? "touchstart" : "click", function(event){
|
||||
self.open();
|
||||
return false;
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
//events for list items
|
||||
|
|
@ -144,14 +144,14 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
|
||||
//hide custom select
|
||||
self.close();
|
||||
return false;
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
//events on "screen" overlay
|
||||
screen.click(function(){
|
||||
screen.click(function(event){
|
||||
self.close();
|
||||
return false;
|
||||
});
|
||||
event.preventDefault();
|
||||
});
|
||||
},
|
||||
|
||||
_buildList: function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue