From f7d21d6919f186dc6e760f0dc8a574dbb0c133d6 Mon Sep 17 00:00:00 2001 From: mdxs Date: Wed, 4 Dec 2013 11:15:48 +0100 Subject: [PATCH] Dropping unused variable in dropdown.js 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dropdown.js b/js/dropdown.js index a56ac8f948..13352ef7cf 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -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) {