mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
use the pre-calculated validation test.
This commit is contained in:
@@ -114,7 +114,7 @@ if ((window.top === window) && (typeof safari != 'undefined') && (document.loca
|
||||
var shouldValidate = (document.location != null) && (thisPageLinkObjects.length > 0);
|
||||
|
||||
// Pass back the same validationID we were handed so they can look up the correlated validationHandler
|
||||
safari.extension.dispatchMessage("pong", { "validationID": event.message.validationID, "shouldValidate": thisPageLinkObjects.length > 0 });
|
||||
safari.extension.dispatchMessage("pong", { "validationID": event.message.validationID, "shouldValidate": shouldValidate });
|
||||
}
|
||||
}, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user