UI layout adjustments
[newtab.git] / admin.js
index 67118908659e9e3cd28b5c58bf8f3fc3a85e05dd..0c9e0d44660a6ecc8191f41aadf1e1182b52a13b 100644 (file)
--- a/admin.js
+++ b/admin.js
@@ -71,7 +71,7 @@ var userListsCallback = function(lists) {
                        li.insertAdjacentHTML("beforeend", "<a href="+siteurl+"> <img src="+img.src+" alt="+extractDomain(siteurl,1)+"/> "+name+"</a>");
                        // ronmurphy end
                        //li.insertAdjacentHTML("beforeend", "<a href="+siteurl+">"+name+"</a>");
-                       li.insertAdjacentHTML("beforeend", "<span id='delete-"+j+"-"+mainlist[i]+"'>-</span>");
+                       li.insertAdjacentHTML("beforeend", "<span id='delete-"+j+"-"+mainlist[i]+"'>&#10799;</span>");
                        ul.appendChild(li);
                }
 
@@ -97,7 +97,7 @@ function listen(li) {
                        save();
                } else {
                        var ul = document.getElementById(r[1]);
-                       ul.insertAdjacentHTML("beforeend", "<div class='inp' id='div-"+listToArray(ul).length.toString()+"'><input style='width:35%' type='text' class='name' value='' placeholder='name'><input style='width:47%' type='text' class='url' value='' placeholder='url' id='form-"+listToArray(ul).length.toString()+"'><span id='input-"+listToArray(ul).length.toString()+"'>s</span></div>");
+                       ul.insertAdjacentHTML("beforeend", "<div class='inp' id='div-"+listToArray(ul).length.toString()+"'><input style='width:35%' type='text' class='name' value='' placeholder='name'><input style='width:47%' type='text' class='url' value='' placeholder='url' id='form-"+listToArray(ul).length.toString()+"'><a id='input-"+listToArray(ul).length.toString()+"'>&#x2714;</a></div>");
                        var inp = document.getElementById("div-"+listToArray(ul).length.toString());
                        var span = document.getElementById("input-"+listToArray(ul).length.toString());
                        var form = document.getElementById("form-"+listToArray(ul).length.toString());