Skip to content

Commit a1310d7

Browse files
authored
Merge pull request ExpressLRS#3344 from CapnBry/webui-callback-missing
Missed a couple html callback references in 3.x.x merge
2 parents 688433a + 0e839cb commit a1310d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/html/scan.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,9 @@ function setupNetwork(event) {
716716
}
717717

718718
@@if not isTX:
719-
_('reset-model').addEventListener('click', callback('Reset Model Settings', 'An error occurred resetting model settings', '/reset?model', null));
719+
_('reset-model').addEventListener('click', postWithFeedback('Reset Model Settings', 'An error occurred resetting model settings', '/reset?model', null));
720720
@@end
721-
_('reset-options').addEventListener('click', callback('Reset Runtime Options', 'An error occurred resetting runtime options', '/reset?options', null));
721+
_('reset-options').addEventListener('click', postWithFeedback('Reset Runtime Options', 'An error occurred resetting runtime options', '/reset?options', null));
722722

723723
_('sethome').addEventListener('submit', setupNetwork);
724724
_('connect').addEventListener('click', postWithFeedback('Connect to Home Network', 'An error occurred connecting to the Home network', '/connect', null));

0 commit comments

Comments
 (0)