]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Dropping unused variable in dropdown.js 11709/head
authormdxs <van.wijgerden@mdxs.net>
Wed, 4 Dec 2013 10:15:48 +0000 (11:15 +0100)
committermdxs <van.wijgerden@mdxs.net>
Wed, 4 Dec 2013 10:15:48 +0000 (11:15 +0100)
Dropping an unused variable in the Dropdown function inside the `dropdown.js` code.

There are no new/changed unit tests, as there are no feature/bug changes requiring new test cases.

For the record: I agree to dual-license this contribution under the Apache 2 and MIT licenses.

js/dropdown.js

index a56ac8f94860b9f86bca2675a10ea089c30f8f6b..13352ef7cf643d9df546b388c9f51e35b2f847eb 100644 (file)
@@ -26,7 +26,7 @@
   var backdrop = '.dropdown-backdrop'
   var toggle   = '[data-toggle=dropdown]'
   var Dropdown = function (element) {
-    var $el = $(element).on('click.bs.dropdown', this.toggle)
+    $(element).on('click.bs.dropdown', this.toggle)
   }
 
   Dropdown.prototype.toggle = function (e) {