pokemon-showdown
pokemon-showdown copied to clipboard
Hover tooltips stopped displaying. [Low Priority]
In the javascript console I get error messages like these :
TypeError: this.makeModifiedStatText is not a function TypeError: pokemon.hpDisplay is not a function
The only tooltip that works is hovering over the pokemon when switching in.
Opening an incognito window fixes this bug, which makes me think that there's some version mismatch between some js files. stored in cache.
Is this still happening? Reopen if so, and give the full stack trace from the JavaScript console.
Stack trace when hovering over opponent's pokemon:
showPokemonTooltip (module.js#492)
showTooltip (battle-tooltips.js#314)
showTooltipEvent (battle-tooltips.js#243)
dispatch (jquery-2.1.4.min.js#3)
handle (jquery-2.1.4.min.js#3)
State vars in showPokemonTooltip function show that this
only has the members, battle, clickTooltipEvent,holdLockTooltipEvent and showTooltipEvent
<this>: {…} battle: {…} clickTooltipEvent:BattleTooltips/this.clickTooltipEvent() holdLockTooltipEvent:BattleTooltips/this.holdLockTooltipEvent() showTooltipEvent:BattleTooltips/this.showTooltipEvent() <prototype>: {…}
Old client bug, if its still an issue would need someone to give instructions on how to reproduce.