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:
parent
315e642700
commit
2c5a7cc1b4
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user