add title

This commit is contained in:
raphael 2019-01-14 14:49:54 +01:00
parent bb7fcb64b7
commit a4198731ae
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ var whiteboard = {
var _this = this;
var textBox = $('<div id="'+txId+'" class="textBox" style="font-family: monospace; position:absolute; top:' + top + 'px; left:' + left + 'px;">'+
'<div contentEditable="true" spellcheck="false" class="textContent" style="outline: none; font-size:'+fontsize+'em; color:'+textcolor+'; min-width:50px; min-height:50px;"></div>'+
'<div class="removeIcon" style="position:absolute; cursor:pointer; top:-2px; right:2px;">x</div>'+
'<div title="remove textbox" class="removeIcon" style="position:absolute; cursor:pointer; top:-4px; right:2px;">x</div>'+
'</div>')
textBox.click(function(e) {
e.preventDefault();