mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
UI Tabs: fixed usage of only an image as tab label
This commit is contained in:
parent
c350d7b9f8
commit
f89359515d
@ -433,7 +433,7 @@ $.widget("ui.tabs", {
|
||||
|
||||
var inner = function(parent) {
|
||||
var $parent = $(parent), $inner = $parent.find('*:last');
|
||||
return $inner.length && $inner || $parent;
|
||||
return $inner.length && $inner.is(':not(img)') && $inner || $parent;
|
||||
};
|
||||
var cleanup = function() {
|
||||
self.$tabs.filter('.' + o.loadingClass).removeClass(o.loadingClass)
|
||||
|
Loading…
Reference in New Issue
Block a user