mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
JS/Tooltips
* try to get current domain from Locale when used on the site itself and no other params are given
This commit is contained in:
@@ -356,6 +356,9 @@ if (typeof $WowheadPower == "undefined") {
|
|||||||
// domain = url[i0];
|
// domain = url[i0];
|
||||||
domain = url[i0].split(".")[0];
|
domain = url[i0].split(".")[0];
|
||||||
}
|
}
|
||||||
|
else if (typeof window.Locale == 'object') {// aowow - Locale is known, just out of scope...?
|
||||||
|
domain = window.Locale.current.domain;
|
||||||
|
}
|
||||||
|
|
||||||
if (REDIRECTS[domain]) {
|
if (REDIRECTS[domain]) {
|
||||||
domain = REDIRECTS[domain];
|
domain = REDIRECTS[domain];
|
||||||
@@ -878,4 +881,3 @@ if (typeof $WowheadPower == "undefined") {
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
1
setup/updates/1709226658_01.sql
Normal file
1
setup/updates/1709226658_01.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`build`, ''), ' power');
|
||||||
Reference in New Issue
Block a user