diff options
| author | jules <jules@okfoc.us> | 2013-12-16 13:17:45 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2013-12-16 13:17:45 -0500 |
| commit | f7f0aa24d8a80184bc3695234e9f57a08d73684c (patch) | |
| tree | f19f7a043b1b8123c5d51276ff77d34fc4e53108 /js/util.js | |
| parent | 3534e706c32d8892f3499722fae61c1f3bad607f (diff) | |
render & save gif
Diffstat (limited to 'js/util.js')
| -rw-r--r-- | js/util.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ if (window.$) { $.fn.int = function(){ return parseInt($(this).val(),10) } $.fn.float = function(){ return parseFloat($(this).val()) } + $.fn.enable = function() { return $(this).attr("disabled",null) } + $.fn.disable = function() { return $(this).attr("disabled","disabled") } } var E = Math.E |
