From 0daa2f2228afdb8506fff569834c2c39247d98a9 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 14 Nov 2021 20:28:39 -0500 Subject: [PATCH] [frio] Check for role="presentation" uses throughout the templates - Upgrade a tags to buttons in file browser - Fix formatting in nav.tpl - Remove unwarranted instance for character counter in jot form --- view/theme/frio/js/filebrowser.js | 2 +- view/theme/frio/templates/filebrowser.tpl | 8 +- view/theme/frio/templates/jot.tpl | 2 +- view/theme/frio/templates/nav.tpl | 95 ++++++++++++++++------- 4 files changed, 74 insertions(+), 33 deletions(-) diff --git a/view/theme/frio/js/filebrowser.js b/view/theme/frio/js/filebrowser.js index a9ee6ea08..bebb27907 100644 --- a/view/theme/frio/js/filebrowser.js +++ b/view/theme/frio/js/filebrowser.js @@ -96,7 +96,7 @@ var FileBrowser = { }); // Click on album link - $(".fbrowser").on("click", ".folders a, .path a", function (e) { + $(".fbrowser").on("click", ".folders button, .path button", function (e) { e.preventDefault(); var url = baseurl + diff --git a/view/theme/frio/templates/filebrowser.tpl b/view/theme/frio/templates/filebrowser.tpl index 1f849555c..e8c03cf38 100644 --- a/view/theme/frio/templates/filebrowser.tpl +++ b/view/theme/frio/templates/filebrowser.tpl @@ -8,9 +8,11 @@ {{* The breadcrumb navigation *}} -