Skip to content

Commit 0dd4376

Browse files
committed
populate the webpg_status object in testValid()
1 parent 1813d52 commit 0dd4376

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension/API/libwebpg/nativeMessaging.js

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ webpg.plugin = {
318318
if (navigator.userAgent.toLowerCase().search("chrome") === -1) {
319319
webpg.nativeMessaging.sendMessage({"func": "get_webpg_status"}, function(res) {
320320
webpg.plugin.valid = (res && res.plugin && !res.error) ? true : false;
321+
webpg.plugin.webpg_status = res;
321322
});
322323
} else {
323324
// Check if the native messaging port is valid

0 commit comments

Comments
 (0)