Sha256: ca8c54592416f5a042792f44788f03b3033c3d4a5cba4b2a85594657c0ff6dce

Contents?: true

Size: 291 Bytes

Versions: 7

Compression:

Stored size: 291 Bytes

Contents

$(document).on 'click', '[data-behavior="close:outdatedBrowser"]', (event)->
  event.preventDefault()
  $('#outdated-browser').fadeOut(200)
  $.cookie('outdated_browser', 'dismissed', { expires: 1, path: '/' })


jQuery ->
  if $.cookie('outdated_browser')
    $('#outdated-browser').hide()

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rail_pass-0.2.0 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.10 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.9 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.8 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.7 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.6 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee
rail_pass-0.1.5 lib/generators/templates/vendor/assets/javascripts/outdated-browser.js.coffee