file is a .js file so don't use let

This commit is contained in:
Sam 2018-09-13 14:58:45 +10:00
parent daa02431df
commit 49f1f10f75
1 changed files with 1 additions and 1 deletions

View File

@ -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()
};