diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js
index b961b700..1f003383 100644
--- a/Resources/Scripts/code.js
+++ b/Resources/Scripts/code.js
@@ -426,13 +426,9 @@
   //
   // Block: Hook into the notification sound effect.
   //
-  (function(){
-    let soundEle = document.getElementById("update-sound");
-    
-    soundEle.play = prependToFunction(soundEle.play, function(){
-      return $TDX.muteNotifications || $TDX.hasCustomNotificationSound;
-    });
-  })();
+  HTMLAudioElement.prototype.play = prependToFunction(HTMLAudioElement.prototype.play, function(){
+    return $TDX.muteNotifications || $TDX.hasCustomNotificationSound;
+  });
   
   //
   // Block: Update highlighted column and tweet for context menu and other functionality.