Commit 38389337 authored by George Popoff's avatar George Popoff

toString context element

parent b9650cc4
...@@ -281,7 +281,7 @@ ETYPOS.prototype = { ...@@ -281,7 +281,7 @@ ETYPOS.prototype = {
}, },
getSelectionContext: function() { getSelectionContext: function() {
return (window.getSelection()) ? window.getSelection().anchorNode : this.selection; return (window.getSelection()) ? window.getSelection().anchorNode.toString() : this.selection;
}, },
/*Скрытие/показ окна*/ /*Скрытие/показ окна*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment