diff options
Diffstat (limited to 'webAO/dom/changeShoutVolume.js')
| -rw-r--r-- | webAO/dom/changeShoutVolume.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webAO/dom/changeShoutVolume.js b/webAO/dom/changeShoutVolume.js new file mode 100644 index 0000000..db67e2d --- /dev/null +++ b/webAO/dom/changeShoutVolume.js @@ -0,0 +1,10 @@ +import setCookie from '../utils/setCookie'; + +/** + * Triggered by the shout volume slider. + */ + +export function changeShoutVolume() { + setCookie('shoutVolume', document.getElementById('client_shoutaudio').volume); +} +window.changeShoutVolume = changeShoutVolume; |
