diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/js/footerscript.js | 6 | ||||
-rw-r--r-- | static/posts.html | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/static/js/footerscript.js b/static/js/footerscript.js index bd36daa..b68c3b4 100644 --- a/static/js/footerscript.js +++ b/static/js/footerscript.js @@ -7,7 +7,7 @@ imgArray.forEach(function(img, i){ { var attachment = img.getAttribute("attachment") img.setAttribute("enlarge", "1"); - img.setAttribute("style", "float: left; margin-right: 10px; cursor: move;"); + img.setAttribute("style", "float: left; margin-right: 10px; cursor: pointer;"); img.src = attachment } else @@ -16,12 +16,12 @@ imgArray.forEach(function(img, i){ img.setAttribute("enlarge", "0"); if(img.getAttribute("main") == 1) { - img.setAttribute("style", "float: left; margin-right: 10px; max-width: 250px; max-height: 250px; cursor: move;"); + img.setAttribute("style", "float: left; margin-right: 10px; max-width: 250px; max-height: 250px; cursor: pointer;"); img.src = preview } else { - img.setAttribute("style", "float: left; margin-right: 10px; max-width: 125px; max-height: 125px; cursor: move;"); + img.setAttribute("style", "float: left; margin-right: 10px; max-width: 125px; max-height: 125px; cursor: pointer;"); img.src = preview } } diff --git a/static/posts.html b/static/posts.html index ab15aeb..9e3e8ce 100644 --- a/static/posts.html +++ b/static/posts.html @@ -21,7 +21,7 @@ media = document.getElementById("media-{{ .Id }}") if(getMIMEType({{ (index .Attachment 0).MediaType }}) == "image"){ var img = document.createElement("img"); - img.style = "float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px; cursor: move;" + img.style = "float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px; cursor: pointer;" img.setAttribute("id", "img") img.setAttribute("main", "1") img.setAttribute("enlarge", "0") @@ -85,7 +85,7 @@ media = document.getElementById("media-{{ .Id }}") if(getMIMEType({{ (index .Attachment 0).MediaType }}) == "image"){ var img = document.createElement("img"); - img.style = "float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px; cursor: move;" + img.style = "float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px; cursor: pointer;" img.setAttribute("id", "img") img.setAttribute("main", "1") img.setAttribute("enlarge", "0") |