Update signs.js, fix minor js lint issue

This commit is contained in:
Jaan Janesmae 2020-03-11 21:35:43 +02:00
parent 4471d6ab3c
commit 479f0a7b8e
No known key found for this signature in database
GPG Key ID: 107973F4AE61D099
1 changed files with 3 additions and 5 deletions

View File

@ -1,12 +1,10 @@
(function(){
"use strict";
var t,s,r=6;
h = function() {
var t,s,r=6,h=function(){
this.offsetHeight > t && (r+=1),
s = t/r,
this.style.fontSize = s+'px'
};
var b = document.getElementById("editable");
t = b.offsetHeight;
},b=document.getElementById("editable");
t=b.offsetHeight;
b.addEventListener("input", h);
})();