diff js/taggingtext.js @ 65:f9ae94a9b041 extractapp

New: adding topic names: name_en, name_ch, name_pinyin
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 02 Apr 2015 11:45:09 +0200
parents ca6bf3532830
children e71a437ae49f
line wrap: on
line diff
--- a/js/taggingtext.js	Wed Apr 01 15:13:37 2015 +0200
+++ b/js/taggingtext.js	Thu Apr 02 11:45:09 2015 +0200
@@ -208,8 +208,8 @@
     newdiv.id = "questionMarkId";
     newdiv.setAttribute("class", "questionMarkClass");
 
-    // set z-index to 4 to bring popup tag windwo to front
-    newdiv.style.cssText = 'top:'+eventObject.pageY+'; left:'+eventObject.pageX+'; position:absolute; background-color: white; border:1px solid black; padding: 5px; z-index:4';
+    // set z-index to 3 to bring popup tag windwo to front
+    newdiv.style.cssText = 'top:'+eventObject.pageY+'; left:'+eventObject.pageX+'; position:absolute; background-color: white; border:1px solid black; padding: 5px; z-index:3';
     newdiv.innerHTML = "Tag: "+tagName+"<br>Value: "+tagObject.text()+"<br>";
     
     var newbutton = $('<button>Remove this</button>').mouseup(function (e2) {