summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static/themes/simple')
-rw-r--r--searx/static/themes/simple/gruntfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index 43f61c0d2..f1ece95c5 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -182,10 +182,10 @@ module.exports = function(grunt) {
{
name: "addAttributesToSVGElement",
params: {
- attributes: [
+ attributes: [
{ "aria-hidden": "true" }
]
- }
+ }
}
]
});
@@ -198,13 +198,13 @@ module.exports = function(grunt) {
{%- set icons = {
<% for (const iconName in icons) { %> '<%- iconName %>':'<%- icons[iconName] %>',
<% } %>
-}
+}
-%}
-
+
{% macro icon(action, alt) -%}
{{ icons[action] | replace("ionicon", "ion-icon") | safe }}
{%- endmacro %}
-
+
{% macro icon_small(action) -%}
{{ icons[action] | replace("ionicon", "ion-icon-small") | safe }}
{%- endmacro %}