From cf10c84cb2ad2e7c44664093d2e4689b498fb201 Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 10 Jul 2014 16:27:00 -0400 Subject: [PATCH] Tab: Fix bug when tab initialized with 0 elements --- src/definitions/modules/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/tab.js b/src/definitions/modules/tab.js index 9e7438d1b..58a78838f 100755 --- a/src/definitions/modules/tab.js +++ b/src/definitions/modules/tab.js @@ -689,7 +689,7 @@ $.tab = $.fn.tab = function(parameters) { } }) ; - if(!methodInvoked) { + if(module && !methodInvoked) { module.initializeHistory(); } return (returnedValue !== undefined)