Duplicate declaration

Duplicate declaration
This commit is contained in:
demis-palma 2014-06-05 09:35:15 +01:00
parent 1fd28c5bfa
commit d0fafb9278

View File

@ -563,7 +563,7 @@
} }
}, },
setCaretPos = function ( node,pos ) { setCaretPos = function ( node,pos ) {
var node = (typeof node == "string" || node instanceof String) ? document.getElementById(node) : node; node = (typeof node == "string" || node instanceof String) ? document.getElementById(node) : node;
if(!node) { if(!node) {
return false; return false;
}else if(node.createTextRange) { }else if(node.createTextRange) {