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:
parent
be06b1e0cf
commit
de2fa3770b
2 changed files with 4 additions and 1 deletions
|
|
@ -356,6 +356,9 @@ if (typeof $WowheadPower == "undefined") {
|
|||
// domain = url[i0];
|
||||
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]) {
|
||||
domain = REDIRECTS[domain];
|
||||
|
|
@ -878,4 +881,3 @@ if (typeof $WowheadPower == "undefined") {
|
|||
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');
|
||||
Loading…
Add table
Add a link
Reference in a new issue