diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-03-17 11:12:55 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-06-06 02:23:07 +0400 |
commit | 7b0acf14d8a7c7c6089035a848cba540ed963f36 (patch) | |
tree | d0b76d93abbce4390a52f4c367a0b0b8db08651c /js/collapse.js | |
parent | 5ef9383f5388ba7a701c4377b43ebdbedb0bf748 (diff) |
Comply to the new style.
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 8d6e332890..87098dbd23 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 |