diff options
| author | czaks <marcin@6irc.net> | 2014-01-19 13:45:22 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-19 13:45:22 +0100 |
| commit | 2500f53701cda14f424409bd8d21b1f706c6c636 (patch) | |
| tree | 9d991b62b6d9d1369930975c5ca83dfa8e03d666 /js/upload-selection.js | |
| parent | 875a2df5215b0e7e482ea3c68184765d81627845 (diff) | |
document upload-selection.js ( vichan-devel/Tinyboard#26 )
Diffstat (limited to 'js/upload-selection.js')
| -rw-r--r-- | js/upload-selection.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/upload-selection.js b/js/upload-selection.js index fb3d9131..80a684d0 100644 --- a/js/upload-selection.js +++ b/js/upload-selection.js @@ -1,3 +1,17 @@ +/* + * upload-selection.js - makes upload fields in post form more compact + * https://github.com/vichan-devel/Tinyboard/blob/master/js/watch.js + * + * Released under the MIT license + * Copyright (c) 2014 Marcin Ćabanowski <marcin@6irc.net> + * + * Usage: + * $config['additional_javascript'][] = 'js/jquery.min.js'; + * $config['additional_javascript'][] = 'js/upload-selection.js'; + * //$config['additional_javascript'][] = 'js/oekaki.js'; //WARNING: unsupported + * + */ + $(function(){ var enabled_file = true; var enabled_url = $("#upload_url").length > 0; |
