aboutsummaryrefslogtreecommitdiff
path: root/data/assets/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/assets/js/util.js')
-rw-r--r--data/assets/js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/assets/js/util.js b/data/assets/js/util.js
index 6379961..a812f1f 100644
--- a/data/assets/js/util.js
+++ b/data/assets/js/util.js
@@ -39,8 +39,8 @@ jQuery(function($) {
// convert textarea to jsonified array of strings
window.listify = function(el) {
- var r = $(el).val().replace(/^\s+|\s+$/m, '');
- return JSON.stringify((r.length > 0) ? r.split(/\s+/m) : []);
+ var s = $(el).val().replace(/^\s+|\s+$/m, '');
+ return JSON.stringify((s.length > 0) ? s.split(/\s+/m) : []);
}