Improve UI, fix issues with new file manager channels

This commit is contained in:
yflory
2016-11-24 18:58:29 +01:00
parent 5a5451d94c
commit c88fa34558
5 changed files with 119 additions and 223 deletions

View File

@@ -10,7 +10,7 @@ define([
var main = function () {
var url = window.location.pathname;
var isHtml = /\.html/.test(url) || url === '/' || url === '';
var isPoll = /\/poll\//.test(url);
var isPoll = /\/poll\//.test(url) || /\/file\//.test(url);
if (!isHtml && !isPoll) {
Messages._applyTranslation();
return;