From: Jacob Thornton Date: Wed, 16 Nov 2011 08:30:11 +0000 (-0800) Subject: clean up var defintion X-Git-Tag: v2.0.0~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=978dfb9216b088d92bb8db14b6ddb409cc7c7f76;p=thirdparty%2Fbootstrap.git clean up var defintion --- diff --git a/js/bootstrap-alerts.js b/js/bootstrap-alerts.js index 7c4b919f70..3ef1672bc0 100644 --- a/js/bootstrap-alerts.js +++ b/js/bootstrap-alerts.js @@ -94,9 +94,11 @@ return this.each(function () { var $this = $(this) + , data if ( typeof options == 'string' ) { - var data = $this.data('alert') + + data = $this.data('alert') if (typeof data == 'object') { return data[options].call( $this )