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

View File

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