parent
6c13db1468
commit
a59aab73fc
|
@ -105,11 +105,11 @@ setTimeout(() => !cm && showSpinner($('#header')), 200);
|
||||||
$('button.install').onclick = () => {
|
$('button.install').onclick = () => {
|
||||||
(!dup ?
|
(!dup ?
|
||||||
Promise.resolve(true) :
|
Promise.resolve(true) :
|
||||||
messageBox.confirm(t('styleInstallOverwrite', [
|
messageBox.confirm($create('span', t('styleInstallOverwrite', [
|
||||||
data.name + (dup.customName ? ` (${dup.customName})` : ''),
|
data.name + (dup.customName ? ` (${dup.customName})` : ''),
|
||||||
dupData.version,
|
dupData.version,
|
||||||
data.version,
|
data.version,
|
||||||
]))
|
])))
|
||||||
).then(ok => ok &&
|
).then(ok => ok &&
|
||||||
API.usercss.install(style)
|
API.usercss.install(style)
|
||||||
.then(install)
|
.then(install)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user