Skip to content

Commit 36108cf

Browse files
committed
Final tooltip fix.
1 parent f81f535 commit 36108cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

data/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,11 @@
257257
var btn = document.createElement("div");
258258
btn.setAttribute("class", "piccolumn4");
259259
var a = document.createElement('a');
260-
a.setAttribute("data-tooltip", "Update");
260+
// a.title = "Update";
261261
a.href = localURL+'/pic?action=refresh&name='+files[i].name+'&version='+files[i].version;
262262
var img = document.createElement('img');
263263
img.src = localURL+'/update.png';
264+
img.title = "Update firmware from web";
264265
img.style.width = '16px';
265266
img.style.height = 'auto';
266267
img.setAttribute=("alt", "Update");
@@ -272,9 +273,9 @@
272273
btn.setAttribute("class", "piccolumn5");
273274
var a = document.createElement('a');
274275
a.href = localURL+'/pic?action=upgrade&name='+files[i].name+'&version='+files[i].version;
275-
a.setAttribute("data-tooltip", "Install");
276276
var img = document.createElement('img');
277277
img.src = localURL+'/system_update.png'
278+
img.title = "Install firmware onto pic";
278279
img.style.width = '16px';
279280
img.style.height = 'auto';
280281
img.setAttribute=("alt", "Install");

0 commit comments

Comments
 (0)