dsh-unlag 1.9.21 → 1.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +9 -1
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -606,7 +606,15 @@ window.__ModuleLoader__.load({
|
|
|
606
606
|
: BUTTON_STYLE;
|
|
607
607
|
|
|
608
608
|
const onClick = async () => {
|
|
609
|
-
|
|
609
|
+
// A press already running is joined, and the press that joined says so instead of nothing.
|
|
610
|
+
if (pressInFlight) {
|
|
611
|
+
setNotice(COPY.applying);
|
|
612
|
+
return;
|
|
613
|
+
}
|
|
614
|
+
if (pending) {
|
|
615
|
+
setNotice(COPY.applying);
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
610
618
|
// A press the page already answered is not answered twice. Saying so beats a dead button.
|
|
611
619
|
if (Date.now() - stampRead() < 3000) { // ui-copy-ignore
|
|
612
620
|
setNotice(COPY.applying);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A press applies plugin edits right away and brings a laggy interface back; automatic reloading stays off unless you turn it on, so the press is the only trigger, and nothing restarts.",
|
|
6
6
|
"license": "MIT",
|