app/assets/javascripts/active_admin/components/jquery.aa.popover.js.coffee in activeadmin-0.6.0 vs app/assets/javascripts/active_admin/components/jquery.aa.popover.js.coffee in activeadmin-0.6.1
- old
+ new
@@ -1,7 +1,7 @@
-window.AA.Popover = class AA.Popover
+window.ActiveAdmin.Popover = class ActiveAdmin.Popover
constructor: (@options, @element) ->
@$element = $(@element)
@@ -91,7 +91,7 @@
centerOfnippleFromLeft = $nipple.outerWidth() / 2
nippleLeftPos = centerOfPopoverFromLeft - centerOfnippleFromLeft
$nipple.css "left", nippleLeftPos
(($) ->
- $.widget.bridge 'popover', AA.Popover
+ $.widget.bridge 'popover', ActiveAdmin.Popover
)(jQuery)