From ea8667302ca5b723edf62a02fe8c0155f13a3da7 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 19 Jan 2017 15:35:38 +0100 Subject: [PATCH] Display only a placeholder when the poll title is default --- www/poll/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/poll/main.js b/www/poll/main.js index 8ad1b4c0e..e15adab41 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -488,7 +488,7 @@ define([ }; var suggestName = function (fallback) { - return document.title || defaultName || ""; + return (document.title === defaultName) ? "" : document.title; };