Update version to 1.2.2

master
me 2023-04-18 05:59:08 +02:00
parent b855a9c5dc
commit d1ce3a5729
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name SDAtom-WebUi-us
// @namespace SDAtom-WebUi-us
// @version 1.2.1
// @version 1.2.2
// @description Queue for AUTOMATIC1111 WebUi and an option to saving settings
// @author Kryptortio
// @homepage https://github.com/Kryptortio/SDAtom-WebUi-us
@ -574,8 +574,8 @@
assignDefaultToAll.style.height = c_uiElemntHeight;
assignDefaultToAll.style.marginRight = '10px';
assignDefaultToAll.onclick = function() {
if(conf.sicriptSettings.defautQuantity.value >= 0) {
document.querySelectorAll('.AWQ-item-quantity').forEach((inp) => {inp.value = conf.sicriptSettings.defautQuantity.value});
if(conf.scriptSettings.defaultQuantity.value >= 0) {
document.querySelectorAll('.AWQ-item-quantity').forEach((inp) => {inp.value = conf.scriptSettings.defaultQuantity.value});
updateQueueState();
}
};