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

Unified Diff: safari/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.
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
« popup.html ('K') | « popup.html ('k') | skin/popup.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/popup.js
===================================================================
--- a/safari/ext/popup.js
+++ b/safari/ext/popup.js
@@ -12,7 +12,7 @@
{
setTimeout(function()
{
- safari.self.width = document.body.offsetWidth;
+ safari.self.width = document.body.scrollWidth;
Sebastian Noack 2014/04/26 13:39:37 Safari doesn't count overflowing text caused by "w
safari.self.height = document.body.offsetHeight;
resizingScheduled = false;
« popup.html ('K') | « popup.html ('k') | skin/popup.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld