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

Unified Diff: popup.js

Issue 29338764: Issue 3842 - Split up the logic updating the icon and context menu (Closed)
Patch Set: Rebased Created March 21, 2016, 10:07 p.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 | « lib/whitelisting.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: popup.js
===================================================================
--- a/popup.js
+++ b/popup.js
@@ -36,7 +36,7 @@
if (!page || (page.url.protocol != "http:" &&
page.url.protocol != "https:"))
document.body.classList.add("local");
- else if (!backgroundPage.htmlPages.has(page))
+ else if (!require("filterComposer").isPageReady(page))
Sebastian Noack 2016/03/21 22:10:03 The changes below are from rebasing. However, whil
kzar 2016/03/22 07:06:03 Acknowledged.
{
document.body.classList.add("nohtml");
require("messaging").getPort(window).on(
« no previous file with comments | « lib/whitelisting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld