mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
12 lines
170 B
JavaScript
12 lines
170 B
JavaScript
|
var active = true;
|
||
|
onmessage = function(e) {
|
||
|
if (e.data == 'finish') {
|
||
|
active = false;
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
if (active) {
|
||
|
postMessage(navigator.languages);
|
||
|
}
|
||
|
}
|