vendor/assets/javascripts/jquery.screenfull.js.coffee in jquery-screenfull-rails-0.0.4 vs vendor/assets/javascripts/jquery.screenfull.js.coffee in jquery-screenfull-rails-0.0.5

- old
+ new

@@ -6,7 +6,7 @@ $.extend $.fn, fullScreen: -> $(@).on 'click', -> screenfull.toggle(@) if $.isFullScreenEnabled() - .on screenfull.raw.fullscreenchange -> + .on screenfull.raw.fullscreenchange, -> $(@).trigger(if screenfull.isFullscreen then 'fullscreen:enter' else 'fullscreen:exit')