From 443e700a74dd71d361197bee35ecbade9da52285 Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Thu, 27 Oct 2016 23:07:58 -0400 Subject: [PATCH] Fixes let usage --- RELEASE-NOTES.md | 5 +++++ src/definitions/modules/tab.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 5bb21b2b8..910bcc956 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,10 @@ ## RELEASE NOTES +### Version 2.2.6 - October, 27, 2016 + +**Bugs** +-**Tab** - Hotfix for accidental use of ES6 `let` + ### Version 2.2.5 - October, 27, 2016 **Bugs** diff --git a/src/definitions/modules/tab.js b/src/definitions/modules/tab.js index 8937a70b1..2647541a1 100644 --- a/src/definitions/modules/tab.js +++ b/src/definitions/modules/tab.js @@ -478,7 +478,7 @@ $.fn.tab = function(parameters) { if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) { setTimeout(function() { - let + var $clone = $tab.children().clone(true) ; $clone = $clone.not('script');