Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Always pass empty strings, not null, to notifications API
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed Mar 20, 2017
1 parent aa9451d commit 4f70b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/webextension/background/senderror.js
Expand Up @@ -48,7 +48,7 @@ window.errorpopup = (function () {
popupMessage = "generic";
}
let title = messages[popupMessage].title;
let message = messages[popupMessage].message || null;
let message = messages[popupMessage].message || '';
let showMessage = messages[popupMessage].showMessage;
if (error.message && showMessage) {
if (message) {
Expand Down

0 comments on commit 4f70b6e

Please sign in to comment.