From d0fafb927803d9bf89f37228b8b8bea7bf32a309 Mon Sep 17 00:00:00 2001 From: demis-palma Date: Thu, 5 Jun 2014 09:35:15 +0100 Subject: [PATCH] Duplicate declaration Duplicate declaration --- jquery.datetimepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index 81c8e7f..279fbf1 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -563,7 +563,7 @@ } }, 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) { return false; }else if(node.createTextRange) {