aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-popover.js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-02-07 22:13:13 -0800
committerfat <[email protected]>2013-02-07 22:13:13 -0800
commit8c7f9c66a7d12f47f50618ef420868fe836d0c33 (patch)
tree552f251d1637a1749c34fcdbb3390653d2fdb8ae /js/bootstrap-popover.js
parentee91afba63bc6e9687397b9052858fca242c2ff5 (diff)
parentc4d47fb1ea45ed2fc3cf382d087ed87b87c69288 (diff)
downloadbootstrap-2.3.0.tar.xz
bootstrap-2.3.0.zip
Merge branch '2.3.0-wip'v2.3.0
Diffstat (limited to 'js/bootstrap-popover.js')
-rw-r--r--js/bootstrap-popover.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index 1a4f532aa..0e7774bf6 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -1,5 +1,5 @@
/* ===========================================================
- * bootstrap-popover.js v2.2.2
+ * bootstrap-popover.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
* Copyright 2012 Twitter, Inc.
@@ -58,8 +58,8 @@
, $e = this.$element
, o = this.options
- content = $e.attr('data-content')
- || (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ content = (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
+ || $e.attr('data-content')
return content
}
@@ -99,7 +99,7 @@
placement: 'right'
, trigger: 'click'
, content: ''
- , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>'
+ , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
})
@@ -111,4 +111,4 @@
return this
}
-}(window.jQuery); \ No newline at end of file
+}(window.jQuery);