From 00fe33323f6fb2e3c9e1c1f429930610f4fbc530 Mon Sep 17 00:00:00 2001 From: oliver Date: Mon, 10 Aug 2015 20:27:12 +0200 Subject: [PATCH] remove unused JavaScript files --- www/js/notification.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 www/js/notification.js diff --git a/www/js/notification.js b/www/js/notification.js deleted file mode 100644 index a27c678f..00000000 --- a/www/js/notification.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Notification functions. - */ - -/** - * Play notification, if audio-element is present. - */ -function notify() -{ - var notifySound = $("#notify-sound"); - if(notifySound.length > 0) { - notifySound.get(0).volume = 0.5; - notifySound.get(0).play(); - } -} - -$(function() { - // Play notification - notify(); -});