summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-11-13 16:04:51 +0100
committerGitHub <noreply@github.com>2021-11-13 16:04:51 +0100
commitcf15652e4ba1f73cc2a197c9524473daf3417c11 (patch)
tree455fe0f09a90cd8f36bee8e180b72bd34f75497e /searx/static/themes/simple
parent26a6cbadef821c71aed9e5a2c82cb65eecf0586b (diff)
parentb369ff4425c0456e276fb41c473950602aa691d3 (diff)
downloadsearxng-cf15652e4ba1f73cc2a197c9524473daf3417c11.tar.gz
searxng-cf15652e4ba1f73cc2a197c9524473daf3417c11.zip
Merge pull request #501 from return42/fix-simple
[fix] delete trailing whitespace
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 %}