From b827303511d68fdb3f913aef63f97b5f77725d68 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 29 Sep 2011 22:21:55 -0700 Subject: changed event should be change event --- js/bootstrap-tabs.js | 2 +- js/tests/unit/bootstrap-tabs.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'js') diff --git a/js/bootstrap-tabs.js b/js/bootstrap-tabs.js index 563d88f01..938a54cc0 100644 --- a/js/bootstrap-tabs.js +++ b/js/bootstrap-tabs.js @@ -43,7 +43,7 @@ activate($this.parent('li'), $ul) activate($href, $href.parent()) - $this.trigger("changed", {from:current, to:href}) + $this.trigger("change", { from: current, to: href }) } } diff --git a/js/tests/unit/bootstrap-tabs.js b/js/tests/unit/bootstrap-tabs.js index 0b92b94db..3c2610c51 100644 --- a/js/tests/unit/bootstrap-tabs.js +++ b/js/tests/unit/bootstrap-tabs.js @@ -45,8 +45,8 @@ $(function () { $("#qunit-runoff").empty() }) - - test( "should trigger changed event on activate", function () { + + test( "should trigger change event on activate", function () { var $tabsHTML = $('