Sha256: 396b04b2ef74db9a6ee37c8cf3036e8cb3dfae25f9c058308799b7b624ed305d
Contents?: true
Size: 431 Bytes
Versions: 22
Compression:
Stored size: 431 Bytes
Contents
// Dom ready $(function () { // Search field $('.default-value').each(function() { var default_value = this.value; $(this).focus(function() { if(this.value == default_value) { this.value = ''; } }); $(this).blur(function() { if(this.value == '') { this.value = default_value; } }); }); $(".details dd:empty").hide().prev("dt").hide(); });
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
bonsai-1.0.1 | spec/support/public/js/script.js |
bonsai-1.0.0 | spec/support/public/js/script.js |