Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/ext/popup.js

Issue 29366773: Issue 4698 - Popup window is broken in Edge (Closed)
Patch Set: Created Dec. 5, 2016, 12:15 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | stats.js » ('j') | stats.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/popup.js
===================================================================
--- a/chrome/ext/popup.js
+++ b/chrome/ext/popup.js
@@ -1,5 +1,7 @@
(function()
{
+ if ((typeof chrome == "undefined") || (typeof chrome.extension == "undefined"))
+ chrome = browser;
var backgroundPage = chrome.extension.getBackgroundPage();
window.ext = Object.create(backgroundPage.ext);
« no previous file with comments | « no previous file | stats.js » ('j') | stats.js » ('J')

Powered by Google App Engine
This is Rietveld