vendor/assets/javascripts/popover.js in flashgrid-2.0.1 vs vendor/assets/javascripts/popover.js in flashgrid-2.1.0
- old
+ new
@@ -8,11 +8,11 @@
this.init('popover', element, options)
}
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
- Popover.VERSION = '3.1.1'
+ Popover.VERSION = '3.2.0'
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right',
trigger: 'click',
content: '',
@@ -61,10 +61,10 @@
o.content.call($e[0]) :
o.content)
}
Popover.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.arrow')
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
}
Popover.prototype.tip = function () {
if (!this.$tip) this.$tip = $(this.options.template)
return this.$tip
\ No newline at end of file