1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

remove the ns option

This commit is contained in:
Jon Stevens
2012-07-22 14:36:23 -07:00
parent 393f4a7b42
commit d76c899142
3 changed files with 4 additions and 18 deletions

View File

@@ -72,7 +72,7 @@
}
, destroy: function () {
this.hide().$element.off(this.options.ns).removeData('popover')
this.hide().$element.off('.' + this.type).removeData(this.type)
}
})
@@ -97,7 +97,6 @@
placement: 'right'
, content: ''
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
, ns: '.popover'
})
}(window.jQuery);