mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-12-26 04:24: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'
|
tt_text = document.querySelector '#tooltip-text'
|
||||||
|
|
||||||
ref = event.target.parentNode.dataset.ref
|
ref = event.target.parentNode.dataset.ref
|
||||||
ver = event.target.innerText
|
ver = event.target.innerText.trim()
|
||||||
|
|
||||||
meta = window.metadata[ref]
|
meta = window.metadata[ref]
|
||||||
#console.log("Meta: %o", meta)
|
#console.log("Meta: %o (Ver: %o)", meta, ver)
|
||||||
vermeta = meta['versions'][ver]
|
vermeta = meta['versions'][ver]
|
||||||
|
|
||||||
updateText = ''
|
updateText = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user