From 5ee2a221ca03a008ae17fa576df78dcd92620671 Mon Sep 17 00:00:00 2001 From: fat Date: Tue, 30 Jul 2013 13:31:57 -0700 Subject: fixes #8816 --- dist/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/js/bootstrap.js') diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 956d4994b..05421141f 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -235,7 +235,7 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") } $.fn.button = function (option) { return this.each(function () { var $this = $(this) - var data = $this.data('button') + var data = $this.data('bs.button') var options = typeof option == 'object' && option if (!data) $this.data('bs.button', (data = new Button(this, options))) -- cgit v1.2.3