From f89359515ddcb74b82e1fa81749a5030b68cf992 Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sun, 6 Jul 2008 14:53:40 +0000 Subject: [PATCH] UI Tabs: fixed usage of only an image as tab label --- ui/ui.tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5