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

Side by Side Diff: chrome/ext/popup.js

Issue 5183241912844288: Issue 380 - Fixed width of bubble in Safari with long translated texts (Closed)
Patch Set: Created April 26, 2014, 1:34 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | popup.html » ('j') | popup.html » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 window.ext = { 1 (function() {
2 __proto__: chrome.extension.getBackgroundPage().ext, 2 var style = document.createElement("style");
3 style.textContent = ".safari-only { display: none; }";
4 document.head.appendChild(style);
Wladimir Palant 2014/04/30 13:57:57 The assumption here is that it is either Safari or
Sebastian Noack 2014/04/30 15:37:48 Done.
3 5
4 closePopup: function() 6 window.ext = {
5 { 7 __proto__: chrome.extension.getBackgroundPage().ext,
6 window.close(); 8
7 } 9 closePopup: function()
8 }; 10 {
11 window.close();
12 }
13 };
14 })();
OLDNEW
« no previous file with comments | « no previous file | popup.html » ('j') | popup.html » ('J')

Powered by Google App Engine
This is Rietveld