projects
/
photo-tags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2977e27
)
better display of description and time for a single photo
master
author
Arun Persaud
<arun@nubati.net>
Fri, 22 Feb 2013 07:02:43 +0000
(23:02 -0800)
committer
Arun Persaud
<arun@nubati.net>
Fri, 22 Feb 2013 07:02:43 +0000
(23:02 -0800)
js/photo-tags.js
patch
|
blob
|
history
diff --git
a/js/photo-tags.js
b/js/photo-tags.js
index 9ec4d2592a8f33bfa3a42b537f1a75a9071650b0..ce4ee497e2628674d5a4688f2c59f1bd2693d732 100644
(file)
--- 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) {