mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-27 03:41:21 +01:00
feat: add actions
This commit is contained in:
16
app/templates/includes/scripts/hyperscript/sounds.html
Normal file
16
app/templates/includes/scripts/hyperscript/sounds.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<script type="text/hyperscript">
|
||||
on paid if body do not include #settings-mute-sound
|
||||
js
|
||||
paidSound.pause()
|
||||
paidSound.currentTime = 0
|
||||
paidSound.play()
|
||||
end
|
||||
end
|
||||
on unpaid if body do not include #settings-mute-sound
|
||||
js
|
||||
unpaidSound.pause()
|
||||
unpaidSound.currentTime = 0
|
||||
unpaidSound.play()
|
||||
end
|
||||
end
|
||||
</script>
|
||||
Reference in New Issue
Block a user