aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/theme/redbasic/js/redbasic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index eecd46d96..10ca4cfa3 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -90,7 +90,7 @@ $(document).ready(function(){
var doctitle = document.title;
function checkNotify() {
var notifyUpdateElem = document.getElementById('notify-update');
- if(typeof(notifyUpdateElem) != 'undefined') {
+ if(notifyUpdateElem !== null) {
if(notifyUpdateElem.innerHTML != "")
document.title = "("+notifyUpdateElem.innerHTML+") " + doctitle;
else