From 74b44d256b29659f249d431e673ad439e26f2cd2 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Mon, 7 May 2018 09:47:01 +0200 Subject: [PATCH] fix(tab): remove xss --- js/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tab.js b/js/tab.js index 990c25be50e0..4f9ad9ff9da9 100644 --- a/js/tab.js +++ b/js/tab.js @@ -48,7 +48,7 @@ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return - var $target = $(selector) + var $target = $(document).find(selector) this.activate($this.closest('li'), $ul) this.activate($target, $target.parent(), function () {