mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.31k stars 99 forks source link

Do not overlay the site when loading the javascript #94

Closed LostKobrakai closed 5 years ago

LostKobrakai commented 5 years ago

I'm loading the javascript for inline translation for each request and the black overlay becomes really annoying after a bit.

simonprev commented 5 years ago

I will add an option in the initializing script to prevent the overlay from appearing 👍

simonprev commented 5 years ago

I just added the option o on initialization to hide the overlay.

o: boolean; // Hide black screen overlay on script loading, default: false
accent('init', {h: 'http://localhost:8001', i: '07f82329-a4c4-43d1-88f8-07a699bf3466', o: true});

🎉