diff --git a/browser/scripts/lib.js b/browser/scripts/lib.js index 4a6bf20..4554658 100644 --- a/browser/scripts/lib.js +++ b/browser/scripts/lib.js @@ -181,7 +181,7 @@ var GhostText = { change: event.data }); }; - }).fail(GhostText.errorHandler); + }).catch(GhostText.errorHandler); }); },