2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Update a few source files to comply to new JSCS rules

This commit is contained in:
Heinrich Fenkart
2014-06-19 11:41:23 +02:00
parent 09c2e41ec4
commit 587451ad9a
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -156,7 +156,7 @@
var $this = $(this)
var target = $this.attr('data-target')
|| e.preventDefault()
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
var $target = $(target)
var data = $target.data('bs.collapse')
var option = data ? 'toggle' : $this.data()