mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Fixed the bug where collapsing or expanding a collapsable did not cause a resize event to be triggered
This commit is contained in:
parent
27f1f9bbff
commit
7022c19322
1 changed files with 2 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
|
|||
.find('a:eq(0), .ui-btn-inner')
|
||||
.addClass('ui-corner-bottom');
|
||||
}
|
||||
$(window).trigger('resize');
|
||||
}
|
||||
|
||||
})
|
||||
|
|
@ -105,7 +106,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
|
|||
.find('a:eq(0), .ui-btn-inner')
|
||||
.removeClass('ui-corner-bottom');
|
||||
}
|
||||
|
||||
$(window).trigger('resize');
|
||||
}
|
||||
})
|
||||
.trigger(o.collapsed ? 'collapse' : 'expand');
|
||||
|
|
|
|||
Loading…
Reference in a new issue