Sha256: 7cb307321cf5f12d296fbfd167849b191873cb2cd07ce73ae441829b9cddde72
Contents?: true
Size: 490 Bytes
Versions: 57
Compression:
Stored size: 490 Bytes
Contents
class Tenon.features.tenonContent.BottombarToggler constructor: (@$container) -> @_toggleBottombars() $('.tenon-content').on('cocoon:after-insert', @_toggleBottombars) $('.tenon-content').on('cocoon:after-remove', @_toggleBottombars) _toggleBottombars: => # Hide them all @$container.find('.tn-tc-bottombar').hide() # Then show the one in the last visible row @$container .find('.tn-tc-row:visible:last') .find('.tn-tc-bottombar') .show()
Version data entries
57 entries across 57 versions & 1 rubygems