diff options
author | Klaus Hartl <klaus.hartl@googlemail.com> | 2008-07-06 14:53:40 +0000 |
---|---|---|
committer | Klaus Hartl <klaus.hartl@googlemail.com> | 2008-07-06 14:53:40 +0000 |
commit | f89359515ddcb74b82e1fa81749a5030b68cf992 (patch) | |
tree | d05be9a6f3398ba1027a637c814746ef34121409 | |
parent | c350d7b9f8fe43f04c903ab5741fd89d0a546212 (diff) | |
download | jquery-ui-f89359515ddcb74b82e1fa81749a5030b68cf992.tar.gz jquery-ui-f89359515ddcb74b82e1fa81749a5030b68cf992.zip |
UI Tabs: fixed usage of only an image as tab label
-rw-r--r-- | ui/ui.tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index e6381578d..53dc90c19 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -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) |