diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-06-22 22:05:35 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-06-22 22:06:38 (GMT) |
commit | 83067ca7cb512cd76db625e5db9d08dd385df8e3 (patch) | |
tree | 8c6076cc295fcaf81db4c7fe7c317e48688c862a /www/js/utils.js | |
parent | 1338103170bf4b2b116f0a0134db86459c176f9a (diff) |
sorting show and musicpool names for selector
Diffstat (limited to 'www/js/utils.js')
-rw-r--r-- | www/js/utils.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/utils.js b/www/js/utils.js index eaed673..7e7a656 100644 --- a/www/js/utils.js +++ b/www/js/utils.js @@ -141,6 +141,10 @@ jQuery.fn.brightness = function() { } }; +jQuery.fn.sort = function() { + return this.pushStack(jQuery.makeArray([].sort.apply(this, arguments))); +}; + function updateProgressBar($el, upload) { if(upload.uploadprogress.progress < 99) { var bytes_str = Number((upload.uploadprogress.bytesSent/1024)/1024).toFixed(1) + " von " + |