Skip to content

Commit 10424c6

Browse files
committed
fix button vibration order
1 parent dd06dd0 commit 10424c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

script.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name JPDB Userscript (6a67)
33
// @namespace http://tampermonkey.net/
4-
// @version 0.1.181
4+
// @version 0.1.182
55
// @description Script for JPDB that adds some styling and functionality
66
// @match *://jpdb.io/*
77
// @grant GM_addStyle
@@ -1770,14 +1770,14 @@
17701770
playEffect(button);
17711771
}
17721772

1773-
if (USER_SETTINGS.enableButtonSound()) {
1774-
await playButtonSound(button);
1775-
}
1776-
17771773
if (USER_SETTINGS.advancedShortButtonVibration()) {
17781774
vibrateDeviceButton(button);
17791775
}
17801776

1777+
if (USER_SETTINGS.enableButtonSound()) {
1778+
await playButtonSound(button);
1779+
}
1780+
17811781
const form = button.closest('form');
17821782
if (form) {
17831783
form.submit();

0 commit comments

Comments
 (0)