Skip to content
Permalink
Browse files

UI Tabs: fixed usage of only an image as tab label

  • Loading branch information
Klaus Hartl
Klaus Hartl committed Jul 6, 2008
1 parent c350d7b commit f89359515ddcb74b82e1fa81749a5030b68cf992
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit f893595

Please sign in to comment.
You can’t perform that action at this time.