cafebabel / cafebabel.com

The new Cafebabel!
https://cafebabel.com
MIT License
2 stars 1 forks source link

Header arrangements #484

Closed johangiraud closed 6 years ago

johangiraud commented 6 years ago

Here I have a js error @vinyll in common.js. It's about this line:

const autofillContent=`"${String.fromCharCode(0xfeff)}"`function checkAutofill(input){if(input&&!input.value){const style=window.getComputedStyle(input)

I don't know how it is compiled, but I see this comment: // Keep semicolon for jsmin. So I guess prettier.js removes a semicolon, maybe that could be the problem. How to force prettier.js to leave the semicolon?

johangiraud commented 6 years ago

Ok after trying many times to leave the semicolon while saving, I only just didn't save, then commit and it worked! 🎉 Not very handy when I will have to edit this file (script.js) but it will do for now 😃