Sha256: df94bed3c0d4b01af46be07ba0f221604c127089db738827935eaa8171ecd998
Contents?: true
Size: 673 Bytes
Versions: 12
Compression:
Stored size: 673 Bytes
Contents
jQuery -> # Some fields should be shown only for blog posts, others only for static content pages if $('input#page_for_blog:checked').length>0 $('#page-short-title').hide() $('#parent-page-title').hide() else $('#page-tag-list').hide() # Toggle fields to be shown when user changes page to/from static content to/from blog post $("input#page_for_blog").change -> if $('input#page_for_blog:checked').length>0 $('#page-short-title').hide(450) $('#parent-page-title').hide(450) $('#page-tag-list').show(450) else $('#page-tag-list').hide(450) $('#page-short-title').show(450) $('#parent-page-title').show(450)
Version data entries
12 entries across 12 versions & 1 rubygems