Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Get text instead of html for callback result (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierPDev authored Feb 20, 2020
1 parent c869fa1 commit 24612ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.jeditable.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
if (false !== complete) {
$(self).html(value);
self.editing = false;
callback.apply(self, [self.innerHTML, settings]);
callback.apply(self, [self.innerText, settings]);
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
Expand Down

0 comments on commit 24612ce

Please sign in to comment.