lib/assets/javascripts/up/popup.js.coffee in upjs-rails-0.16.0 vs lib/assets/javascripts/up/popup.js.coffee in upjs-rails-0.17.0

- old
+ new

@@ -328,12 +328,11 @@ @param [up-sticky] If set to `true`, the popup remains open even if the page changes in the background. @stable ### - up.on('click', 'a[up-popup]', (event, $link) -> - event.preventDefault() + up.link.registerFollowVariant('[up-popup]', ($link) -> if $link.is('.up-current') close() else attach($link) ) @@ -381,9 +380,10 @@ ) # The framework is reset between tests up.on 'up:framework:reset', reset + knife: eval(Knife?.point) attach: attach close: close url: -> currentUrl coveredUrl: coveredUrl config: config