Removed tooltip box from Sell tooltip

This commit is contained in:
Daniel van Noord
2020-12-20 12:27:43 +01:00
parent a05c9290de
commit 1715306374
2 changed files with 10 additions and 6 deletions

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
var area = document.createElement('div');
area.id = 'CMTooltipArea';
l('tooltip').appendChild(area);
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;