mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- fixed text overlaping with icon in Firefox for auticonized tooltips
- fixed PetCalc export option
This commit is contained in:
@@ -384,7 +384,8 @@ if (typeof $WowheadPower == "undefined") {
|
||||
if (aowow_tooltips.iconizelinks && (type == TYPE_ITEM || type == TYPE_ACHIEVEMENT || type == TYPE_SPELL) && data.icon) {
|
||||
// t.children[0].style.marginLeft = "18px";
|
||||
t.className += " icontinyl";
|
||||
t.style.paddingLeft = "18px !important";
|
||||
// t.style.paddingLeft = "18px !important";
|
||||
t.setAttribute("style", t.getAttribute("style") + "; padding-left:18px !important;");
|
||||
t.style.verticalAlign = "center";
|
||||
// t.style.background = "url(" + (document.location.protocol != "https:" ? "http:": document.location.protocol) + "//wowimg.zamimg.com/images/wow/icons/tiny/" + data.icon.toLocaleLowerCase() + ".gif) left center no-repeat"
|
||||
t.style.background = "url(" + g_staticUrl + "/images/wow/icons/tiny/" + data.icon.toLocaleLowerCase() + ".gif) left center no-repeat"
|
||||
|
||||
@@ -604,11 +604,14 @@ function TalentCalc() {
|
||||
buffer += '<p></p>';
|
||||
|
||||
// custom: deploy old armory-string
|
||||
buffer += '<h3>' + LANG.tc_export + LANG.colon + '</h3>';
|
||||
buffer += '<blockquote style="font-family: \'Courier New\';">?cid=' + _currentClass + '&tal=' + $WowheadTalentCalculator.getBlizzBuild() + '</blockquote>';
|
||||
buffer += '<p></p>';
|
||||
if ($WowheadTalentCalculator !== undefined) {
|
||||
buffer += '<h3>' + LANG.tc_export + LANG.colon + '</h3>';
|
||||
buffer += '<blockquote style="font-family: \'Courier New\';">?cid=' + _currentClass + '&tal=' + $WowheadTalentCalculator.getBlizzBuild() + '</blockquote>';
|
||||
buffer += '<p></p>';
|
||||
}
|
||||
// custom end
|
||||
|
||||
|
||||
for (i = 0; i < _nTrees; ++i) {
|
||||
buffer += '<h3>' + c[i].n + ' (' + c[i].k + ' ' + LANG[c[i].k == 1 ? 'tc_point': 'tc_points'] + ')</h3>';
|
||||
buffer += '<blockquote>';
|
||||
|
||||
Reference in New Issue
Block a user