Improve UI, fix issues with new file manager channels
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user