OLD | NEW |
(Empty) | |
| 1 with (safari.extension.globalPage.contentWindow) |
| 2 { |
| 3 this.ext = ext; |
| 4 this.TabMap = TabMap; |
| 5 } |
| 6 |
| 7 // Safari will load the popover once, and then show it everytime the icon is |
| 8 // clicked. While Chrome loads it everytime you click the icon. So in order to |
| 9 // force the same behavior in Safari, we are going to reload the page of the |
| 10 // bubble everytime it is shown. |
| 11 safari.application.addEventListener("popover", function() |
| 12 { |
| 13 document.documentElement.style.display = "none"; |
| 14 document.location.reload(); |
| 15 }, true); |
OLD | NEW |