Removed tooltip box from Sell tooltip

This commit is contained in:
Daniel van Noord committed 2020-12-20 12:27:43 +01:00
1 parent a05c9290de
commit 1715306374
2 files changed
+4

No files matched your search

+2
View File
@@ -2317,9 +2317,11 @@ CM.Disp.Tooltip = function(type, name) {
else if (type === 'g') l('tooltip').innerHTML = Game.Objects['Wizard tower'].minigame.spellTooltip(name)(); // Grimoire
// Adds area for extra tooltip-sections
if ((type == 'b' && Game.buyMode == 1) || type == 'u' || type == 's' || type == 'g') {
var area = document.createElement('div');
area.id = 'CMTooltipArea';
l('tooltip').appendChild(area);
}
// Sets global variables used by CM.Disp.UpdateTooltip()
CM.Disp.tooltipType = type;
+2
View File
@@ -1270,9 +1270,11 @@ CM.Disp.Tooltip = function(type, name) {
else if (type === 'g') l('tooltip').innerHTML = Game.Objects['Wizard tower'].minigame.spellTooltip(name)(); // Grimoire
// Adds area for extra tooltip-sections
if ((type == 'b' && Game.buyMode == 1) || type == 'u' || type == 's' || type == 'g') {
var area = document.createElement('div');
area.id = 'CMTooltipArea';
l('tooltip').appendChild(area);
}
// Sets global variables used by CM.Disp.UpdateTooltip()
CM.Disp.tooltipType = type;