Update signs.js, fix minor js lint issue
This commit is contained in:
parent
4471d6ab3c
commit
479f0a7b8e
@ -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);
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user