mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
Merge pull request #1656 from VTWoods/bug_1635
#1635 Collapsible not triggering resize event. Fixes #1635
This commit is contained in:
commit
24fff18186
2 changed files with 3 additions and 2 deletions
|
|
@ -105,7 +105,6 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
|
|||
.find('a:eq(0), .ui-btn-inner')
|
||||
.removeClass('ui-corner-bottom');
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
.trigger(o.collapsed ? 'collapse' : 'expand');
|
||||
|
|
|
|||
|
|
@ -128,8 +128,10 @@ $.fixedToolbars = (function(){
|
|||
|
||||
$.fixedToolbars.show(true, this);
|
||||
});
|
||||
//When a collapsiable is hidden or shown we need to trigger the fixed toolbar to reposition itself (#1635)
|
||||
$('.ui-collapsible-contain').live('collapse',showEventCallback);
|
||||
$('.ui-collapsible-contain').live('expand',showEventCallback);
|
||||
|
||||
|
||||
// element.getBoundingClientRect() is broken in iOS 3.2.1 on the iPad. The
|
||||
// coordinates inside of the rect it returns don't have the page scroll position
|
||||
// factored out of it like the other platforms do. To get around this,
|
||||
|
|
|
|||
Loading…
Reference in a new issue