Update signs.js, fix minor js lint issue

This commit is contained in:
Jaan Janesmae 2020-03-11 21:35:23 +02:00
parent 99fa4bd9be
commit 082022afed
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);
})();