summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2021-04-06 11:55:29 +0200
committerLorenzo Tilve <ltilve@igalia.com>2021-04-06 11:58:48 +0200
commit48970567f1943fb70ef1526827c21548d23695e7 (patch)
tree52e79475771d887ea6bdc52fd5f1349edcc5ba28 /src/templates
parent921933cf21de6b874c2b8e12b8416176a74018ce (diff)
We identified that part of the problems that were triggering the race condition were related with starting the drag of webapp images. Disabling those events, and also removing href link to avoid displaying draggable link. Bug-AGL: SPEC-3786 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I4da1e0ee0c86812f5ecb7b83a70a2a3e27093b3d
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/apps.template.html4
-rw-r--r--src/templates/time.template.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/templates/apps.template.html b/src/templates/apps.template.html
index 9916e2a..bcf2968 100644
--- a/src/templates/apps.template.html
+++ b/src/templates/apps.template.html
@@ -1,5 +1,5 @@
{{ #apps }}
- <a href="#" class="button" id="app-{{id}}" app-id="{{ id }}" onclick="apps.start('{{id}}');">
+ <a class="button" dragable="false" id="app-{{id}}" app-id="{{ id }}" onclick="apps.start('{{id}}');">
<div class="icon {{ icon }}">
</div>
@@ -7,4 +7,4 @@
{{ name }}
</div>
</a>
-{{ /apps }} \ No newline at end of file
+{{ /apps }}
diff --git a/src/templates/time.template.html b/src/templates/time.template.html
index 663c8e5..c7dad96 100644
--- a/src/templates/time.template.html
+++ b/src/templates/time.template.html
@@ -8,7 +8,7 @@
{{ #weather }}
{{ #showTemperature }}
<div class="temperature weatherItem">
- <img src="http://openweathermap.org/img/wn/{{ weather.weather.0.icon }}.png">
+ <img dragable="false" src="http://openweathermap.org/img/wn/{{ weather.weather.0.icon }}.png">
{{ weather.main.temp }}ºF
</div>
{{ /showTemperature }}
@@ -43,4 +43,4 @@
No weather
</div>
{{ /weather }}
-</div> \ No newline at end of file
+</div>