version 0.3.0 #1
1 changed files with 1 additions and 1 deletions
|
@ -18,11 +18,11 @@
|
|||
if (centered) classes.push("centered");
|
||||
|
||||
function click() {
|
||||
if (disabled) return;
|
||||
if (href) {
|
||||
location = href;
|
||||
return;
|
||||
}
|
||||
if (disabled) return;
|
||||
play_sound(sound);
|
||||
dispatch('click');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue