Skip to content

Commit d14508e

Browse files
committed
chore: flip "update" and "updated" states
1 parent f182d85 commit d14508e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/hooks/updates.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,12 @@ function build() {
274274
rel: 'noreferrer',
275275
target: 'updateUserScript',
276276
})
277-
.addClass('btn btn-primary')
278-
.on('click', () => {
277+
.addClass('btn btn-success')
278+
.on('click auxclick', () => {
279279
refreshButton();
280-
button.addClass('btn-success');
280+
button
281+
.removeClass('btn-success')
282+
.addClass('btn-primary');
281283
});
282284
container.append($('<fieldset>').append(
283285
$('<legend>').text(name),

0 commit comments

Comments
 (0)