src/widgets/Polemic.js
changeset 1068 7623f9af9272
parent 1021 7253d4d06f0d
child 1069 2409cb4cebaf
--- a/src/widgets/Polemic.js	Fri Sep 25 14:45:38 2015 +0200
+++ b/src/widgets/Polemic.js	Fri Oct 02 11:27:17 2015 +0200
@@ -144,7 +144,8 @@
                 	image: _annotation.thumbnail,
                 	uri: (typeof _annotation.url !== "undefined" 
 		                ? _annotation.url
-		                : (document.location.href.replace(/#.*$/,'') + '#id='  + _annotation.id))
+		                : (document.location.href.replace(/#.*$/,'') + '#id='  + _annotation.id)),
+                text: '[' + _annotation.begin.toString() + '] ' + _annotation.title
                 });
             	// test if annotation has several colors.
             	var colAr = [];