Sha256: 9d8c2446cb82e44b91c9df597abc318ad522aff830e8a29143399ce07232e111

Contents?: true

Size: 262 Bytes

Versions: 13

Compression:

Stored size: 262 Bytes

Contents

$ ->
  
  $("body").on "click", ".main-aside .aside_lnk.toggler, .main-aside .aside_lnk .toggler", (e) ->
    e.preventDefault()
    if $(@).hasClass("aside_lnk")
      $(@).toggleClass("on")
    else
      $(@).closest(".aside_lnk").toggleClass("on")
    false

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
better_styles-0.0.0.338 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.337 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.336 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.335 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.334 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.333 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.332 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.331 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.0.33 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.5 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.4 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.3 assets/javascripts/betterjs/navigations/aside_link.js.coffee
better_styles-0.0.2 assets/javascripts/betterjs/navigations/aside_link.js.coffee