meta/assets/js/meta.js

15 lines
277 B
JavaScript
Raw Normal View History

2012-08-31 16:18:23 -04:00
(function() {
2012-08-31 16:18:23 -04:00
"use strict";
2012-08-31 16:18:23 -04:00
// Show/hide forms based on use
$_("fieldset dl").dom.hide();
$_("fieldset legend").event.add('click', function(e){
var form = $_("fieldset dl").dom;
2012-08-31 16:18:23 -04:00
(form.css('display').trim() == 'none')
? form.show()
: form.hide();
});
2012-08-31 16:18:23 -04:00
}());