From: Johann-S Date: Mon, 7 May 2018 07:47:01 +0000 (+0200) Subject: fix(tab): remove xss X-Git-Tag: v3.4.0~48^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13bf8aeae3db71e28af69782328c22215795c169;p=thirdparty%2Fbootstrap.git fix(tab): remove xss --- diff --git a/js/tab.js b/js/tab.js index 990c25be50..4f9ad9ff9d 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 () {