aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-www/src/main/static/scripts.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index ddcf7923..7c8b02b0 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -1,11 +1,11 @@
var autosize = function(t) {
var offset = !window.opera ? (t.offsetHeight - t.clientHeight)
- : (t.offsetHeight + parseInt(window.getComputedStyle(t, null).getPropertyValue('border-top-width'))) ;
+ : (t.offsetHeight + parseInt(window.getComputedStyle(t, null).getPropertyValue('border-top-width')));
var resize = function(t) {
t.style.height = 'auto';
t.style.height = (t.scrollHeight + offset ) + 'px';
- }
+ };
t.addEventListener && t.addEventListener('input', function(event) {
resize(t);
@@ -14,7 +14,7 @@ var autosize = function(t) {
t['attachEvent'] && t.attachEvent('onkeyup', function() {
resize(t);
});
-}
+};
require('whatwg-fetch');
require('element-closest');