Mephiles / torntools_extension

A browser extension for Torn.com
GNU General Public License v3.0
110 stars 62 forks source link

Fix highlight properties type error. #702

Closed caspercho closed 1 year ago

caspercho commented 1 year ago

When you have enabled "Highlight properties link when upkeep is greater than X" setting in the "Sidebar" settings, but in the same time you are traveling, the extension throws the following error:

TypeError: Cannot read properties of null (reading 'classList') at addHighlight (chrome-extension://.../scripts/features/highlight-properties/ttHighlightProperties.js:29:125)

image