From e1cb9e4b204f57d6313a359566b908e90611ab1a Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 26 Mar 2022 16:34:33 +0100 Subject: hello typescript my old friend --- webAO/dom/changeVolume.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'webAO/dom/changeVolume.js') diff --git a/webAO/dom/changeVolume.js b/webAO/dom/changeVolume.js index 4ef3027..0f7d47e 100644 --- a/webAO/dom/changeVolume.js +++ b/webAO/dom/changeVolume.js @@ -9,6 +9,14 @@ export function changeSFXVolume() { } window.changeSFXVolume = changeSFXVolume; +/** + * Triggered by the testimony volume slider. + */ + export function changeTestimonyVolume() { + setCookie('testimonyVolume', document.getElementById('client_testimonyaudio').volume); +} +window.changeTestimonyVolume = changeTestimonyVolume; + /** * Triggered by the shout volume slider. */ -- cgit