Browse Source

Fixes let usage

pull/4700/head
Jack Lukic 8 years ago
parent
commit
443e700a74
2 changed files with 6 additions and 1 deletions
  1. 5
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/tab.js

5
RELEASE-NOTES.md

@ -1,5 +1,10 @@
## RELEASE NOTES ## 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 ### Version 2.2.5 - October, 27, 2016
**Bugs** **Bugs**

2
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) { if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
setTimeout(function() { setTimeout(function() {
let
var
$clone = $tab.children().clone(true) $clone = $tab.children().clone(true)
; ;
$clone = $clone.not('script'); $clone = $clone.not('script');

Loading…
Cancel
Save