diff --git a/sourcefiles/modern/plugins/bootstrap/js/bootstrap.js b/sourcefiles/modern/plugins/bootstrap/js/bootstrap.js index 01fbbcbaa..854c2b818 100644 --- a/sourcefiles/modern/plugins/bootstrap/js/bootstrap.js +++ b/sourcefiles/modern/plugins/bootstrap/js/bootstrap.js @@ -773,7 +773,7 @@ if (typeof jQuery === 'undefined') { selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 } - var $parent = selector && $(selector) + var $parent = selector && $(document).find(selector) return $parent && $parent.length ? $parent : $this.parent() }