WebUI: Properly decode strings

This commit is contained in:
brvphoenix
2021-02-19 23:54:25 -08:00
committed by Vladimir Golovnev (Glassez)
parent 529dd6e3a8
commit 59f0961594
7 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
'use strict';
window.addEvent('domready', () => {
const paths = decodeURIComponent(new URI().getData('paths')).split('|');
const paths = new URI().getData('paths').split('|');
$('cancelBtn').focus();
$('cancelBtn').addEvent('click', (e) => {
new Event(e).stop();