Replaced deprecated API

This commit is contained in:
Kevin R
2021-12-28 18:02:48 +01:00
parent 958f1e3515
commit a677797b1c
6 changed files with 27 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ function getDataTableTranslation()
{
let lang = browser.i18n.getUILanguage();
lang = lang.substring(0,2);
return browser.extension.getURL('./external_js/dataTables/i18n/' + lang + '.lang');
return browser.runtime.getURL('./external_js/dataTables/i18n/' + lang + '.lang');
}
/**