Use parse instead of parseJSON. (#5869)

This commit is contained in:
SamTV12345 2023-08-08 19:12:41 +02:00 committed by GitHub
parent a096f1ae33
commit b56d75b1e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ $._farbtastic = function (container, options) {
fb.linkTo = function (callback) {
// Unbind previous nodes
if (typeof fb.callback == 'object') {
$(fb.callback).off('keyup').on('keyup').on('keyup', fb.updateValue);
$(fb.callback).off('keyup').on('keyup', fb.updateValue);
}
// Reset color