1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 08:37:11 +02:00
This commit is contained in:
gorhill 2015-05-29 19:23:26 -04:00
parent 58804dba7d
commit 1e57760fe1
3 changed files with 9 additions and 3 deletions

View File

@ -70,6 +70,13 @@ function startup(data, reason) {
return;
}
// https://github.com/gorhill/uBlock/issues/262
// To remove whatever suffix AMO adds to the version number.
var matches = version.match(/(?:\d+\.)+\d+/);
if ( matches !== null ) {
version = matches[0];
}
bgProcess = hiddenDoc.documentElement.appendChild(
hiddenDoc.createElementNS('http://www.w3.org/1999/xhtml', 'iframe')
);

View File

@ -50,7 +50,6 @@ a {
#version {
font-size: 10px;
font-weight: normal;
margin-left: 1em;
}
body[dir="ltr"] #panes {
direction: rtl;
@ -104,7 +103,7 @@ body.portrait[dir="ltr"] #panes > div:nth-of-type(2) {
display: none;
}
#panes > div:nth-of-type(1) {
min-width: 150px;
min-width: 160px;
padding: 0;
}
p {

View File

@ -10,7 +10,7 @@
</head>
<body>
<a href="dashboard.html" target="_blank" id="gotoPrefs" title="popupTipDashboard"><span id="appname">&nbsp;</span><span id="version">&nbsp;</span></a>
<a href="dashboard.html" target="_blank" id="gotoPrefs" title="popupTipDashboard"><span id="appname"> </span> <span id="version"> </span></a>
<div id="panes">
<div>
<p id="switch" data-i18n-tip="popupPowerSwitchInfo" data-tip-position="under"><span class="fa">&#xf011;</span></p>