diff --git a/views/default.handlebars b/views/default.handlebars index bd201a18..9d4de91a 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -9276,7 +9276,7 @@ } function p13setActions() { - var advancedFeatures = (currentNode.agent.id != 14); // Reduct file feature on some devices. + var advancedFeatures = ((currentNode.agent != null) && (currentNode.agent.id != 14)); // Reduce file feature on some devices. if (p13filetree == null) { QE('p13DeleteFileButton', false); QE('p13NewFolderButton', false);