1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-12-25 12:04:07 +00:00

Bugfix: innerText somehow returned version\x09, trimming helps.

This commit is contained in:
Markus Birth 2018-10-26 13:26:08 +02:00
parent 315e642700
commit 2c5a7cc1b4

View File

@ -32,10 +32,10 @@ document.addEventListener 'DOMContentLoaded', (event) ->
tt_text = document.querySelector '#tooltip-text'
ref = event.target.parentNode.dataset.ref
ver = event.target.innerText
ver = event.target.innerText.trim()
meta = window.metadata[ref]
#console.log("Meta: %o", meta)
#console.log("Meta: %o (Ver: %o)", meta, ver)
vermeta = meta['versions'][ver]
updateText = ''