kopia lustrzana https://github.com/lartsch/FediAct
fix dblclick triggering if another button is clicked
rodzic
8867b3934e
commit
55bce0c0ab
|
@ -678,9 +678,9 @@ async function processToots() {
|
|||
e.stopImmediatePropagation();
|
||||
redirectTo(resolveAndAction[0]+"?fedireply")
|
||||
})
|
||||
var clicks = 0;
|
||||
var timer;
|
||||
$([favButton, boostButton, bookmarkButton]).each(function() {
|
||||
var clicks = 0;
|
||||
var timer;
|
||||
$(this).on("click", async function(e) {
|
||||
// prevent default and immediate propagation
|
||||
e.preventDefault();
|
||||
|
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue