mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
normalise comparisons with undefined
This commit is contained in:
@@ -182,7 +182,7 @@ liberator.config = { //{{{
|
||||
// XXX: Hack!
|
||||
window.document.addEventListener("load", function ()
|
||||
{
|
||||
if (typeof window.messageWasEditedExternally == "undefined")
|
||||
if (window.messageWasEditedExternally === undefined)
|
||||
{
|
||||
window.messageWasEditedExternally = false;
|
||||
GetCurrentEditor().addDocumentStateListener(stateListener);
|
||||
|
||||
Reference in New Issue
Block a user