Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2012-12-09 05:40:42 +0400
committerMark Otto <otto@github.com>2012-12-09 05:40:42 +0400
commitbc0b94a3fdc8fe480c74f4494073e2c0addb265e (patch)
treee13fec2ed829b4586fa4044fffc8dbfadddae54e /docs/assets/js/bootstrap-tooltip.js
parentbe5f31480b53555c492e0077c8bb9f419fc48f62 (diff)
parent9376a7c221a64c2bf508d02ea2ccd85748d10fcc (diff)
Merge branch 'master' into 3.0.0-wip
Conflicts: docs/assets/css/bootstrap.css docs/assets/js/bootstrap.js docs/css.html docs/templates/pages/base-css.mustache docs/templates/pages/components.mustache docs/templates/pages/javascript.mustache less/breadcrumbs.less less/tables.less less/tests/css-tests.html
Diffstat (limited to 'docs/assets/js/bootstrap-tooltip.js')
-rw-r--r--docs/assets/js/bootstrap-tooltip.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index ef6572db76..5a574fcf09 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/js/bootstrap-tooltip.js
@@ -250,6 +250,8 @@
/* TOOLTIP PLUGIN DEFINITION
* ========================= */
+ var old = $.fn.tooltip
+
$.fn.tooltip = function ( option ) {
return this.each(function () {
var $this = $(this)
@@ -273,4 +275,13 @@
, html: false
}
+
+ /* TOOLTIP NO CONFLICT
+ * =================== */
+
+ $.fn.tooltip.noConflict = function () {
+ $.fn.tooltip = old
+ return this
+ }
+
}(window.jQuery); \ No newline at end of file