diff options
Diffstat (limited to 'js/collapse.js')
| -rw-r--r-- | js/collapse.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/collapse.js b/js/collapse.js index 8d6e33289..87098dbd2 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -159,7 +159,8 @@ // ================= $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) { - var $this = $(this), href + var href + var $this = $(this) var target = $this.attr('data-target') || e.preventDefault() || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 |
