aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap-affix.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/assets/js/bootstrap-affix.js')
-rw-r--r--docs/assets/js/bootstrap-affix.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/assets/js/bootstrap-affix.js b/docs/assets/js/bootstrap-affix.js
index 0de787e8c..2b76881c5 100644
--- a/docs/assets/js/bootstrap-affix.js
+++ b/docs/assets/js/bootstrap-affix.js
@@ -68,6 +68,8 @@
/* AFFIX PLUGIN DEFINITION
* ======================= */
+ var old = $.fn.affix
+
$.fn.affix = function (option) {
return this.each(function () {
var $this = $(this)
@@ -85,6 +87,15 @@
}
+ /* AFFIX NO CONFLICT
+ * ================= */
+
+ $.fn.affix.noConflict = function () {
+ $.fn.affix = old
+ return this
+ }
+
+
/* AFFIX DATA-API
* ============== */