From a995f2306d385ca0f75342e9a7ed5ffb8c916354 Mon Sep 17 00:00:00 2001 From: ansuz Date: Sat, 16 Jul 2016 12:42:23 +0200 Subject: [PATCH] fix undefined variable reference --- www/pad/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/main.js b/www/pad/main.js index 37e23c89e..dfdf3f9cb 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -498,7 +498,7 @@ define([ // set the hash window.location.hash = info.channel + secret.key; - var title = document.title = Cryptpad.getPadTitle() || $title.val(); + var title = document.title = Cryptpad.getPadTitle(); Cryptpad.rememberPad(title); Cryptpad.styleAlerts(); };