Feature/#32 option menu #112
|
@ -5,14 +5,12 @@ import * as helper from '../utils/helpers';
|
||||||
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
export function init() {
|
export function init() {
|
||||||
getGlobalConfiguration().getProperty(SETTINGS_animeLanguageDisplay, value => {
|
getGlobalConfiguration().getProperty(SETTINGS_animeLanguageDisplay, value => {
|
||||||
if (value) {
|
if (value) {
|
||||||
if (getGlobalConfiguration().animeLanguageDisplay) {
|
core.registerScript(node => {
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
core.registerScript(node => {
|
// run the scripts
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
// run the scripts
|
if (helper.isHtmlElement(node)) {
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
if (helper.isHtmlElement(node)) {
|
updateLanguageDisplay(node)
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
updateLanguageDisplay(node)
|
}
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
}
|
}, "^/anime/[0-9]*$");
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
}, "^/anime/[0-9]*$");
|
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
}
|
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
![]() That if statement has to be removed. That if statement has to be removed.
![]() Done and working, agaub. Done and working, agaub.
|
That if statement has to be removed.