Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bug fix: don't try to send a popupNotification if a required window d…

…oes not exist yet.
  • Loading branch information...
commit 477a3f36919f1af2c013d0d5b09e9ca14a9f84d6 1 parent 9d0fb7b
@erikvold erikvold authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  extension/modules/utils/Scriptish_popupNotification.js
View
2  extension/modules/utils/Scriptish_popupNotification.js
@@ -10,7 +10,7 @@ function Scriptish_popupNotification(details) {
return Scriptish_log(details.message);
var win = Scriptish.getMostRecentWindow();
- if (win.PopupNotifications) {
+ if (win && win.PopupNotifications) {
timeout(function() {
win.PopupNotifications.show(
win.gBrowser.selectedBrowser,
Please sign in to comment.
Something went wrong with that request. Please try again.