Skip to content

Commit 978dfb9

Browse files
committed
clean up var defintion
1 parent 90f8eb6 commit 978dfb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/bootstrap-alerts.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@
9494

9595
return this.each(function () {
9696
var $this = $(this)
97+
, data
9798

9899
if ( typeof options == 'string' ) {
99-
var data = $this.data('alert')
100+
101+
data = $this.data('alert')
100102

101103
if (typeof data == 'object') {
102104
return data[options].call( $this )

0 commit comments

Comments
 (0)