file is a .js file so don't use let
This commit is contained in:
parent
daa02431df
commit
49f1f10f75
|
@ -164,7 +164,7 @@ $.fn.caretPosition = function(options) {
|
|||
}
|
||||
|
||||
pPos = p.offset();
|
||||
let position = {
|
||||
var position = {
|
||||
left: pos.left - pPos.left,
|
||||
top: pos.top - pPos.top - clone.scrollTop()
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue