summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2013-02-21 23:02:43 -0800
committerArun Persaud <arun@nubati.net>2013-02-21 23:02:43 -0800
commit26bd8ddbf741d6caebf9b1d6bd303528b849ec0e (patch)
tree335e2126c6e16acecf7d86b09484b2c881a783ca
parent2977e27d221119f2784255b57848779aa8efa921 (diff)
downloadphoto-tags-26bd8ddbf741d6caebf9b1d6bd303528b849ec0e.tar.gz
photo-tags-26bd8ddbf741d6caebf9b1d6bd303528b849ec0e.tar.bz2
photo-tags-26bd8ddbf741d6caebf9b1d6bd303528b849ec0e.zip
better display of description and time for a single photoHEADmaster
-rw-r--r--js/photo-tags.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/photo-tags.js b/js/photo-tags.js
index 9ec4d25..ce4ee49 100644
--- a/js/photo-tags.js
+++ b/js/photo-tags.js
@@ -96,9 +96,9 @@ function load_content() {
.text(function(d) {
var date = new Date(d.time*1000);
if (d.description=="")
- return "Time: "+date.toUTCString();
+ return " "+date.toUTCString();
else
- return "Description: "+d.description + "Time: "+date.toUTCString();
+ return " "+d.description + " "+date.toUTCString();
});
/* show tags */
d3.json(webbase+"/getjson.php?IDT="+ID, function(jsontag) {