aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-06-22 22:28:25 +0300
committerGravatar Vitaly Takmazov2017-06-22 22:28:25 +0300
commitbfe63cc69ff6dcf2f5613184830e26e1275e5c31 (patch)
treef389a9b0d46ae7b972c5a187567b99836e85c276 /juick-www/src/main/static/scripts.js
parent2331a659e4ea152c536523404dff4323a59e99d4 (diff)
www: fix css warnings
Diffstat (limited to 'juick-www/src/main/static/scripts.js')
-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');