Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 11eef64

Browse files
committed
this fixes #110
1 parent 66b91b4 commit 11eef64

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

css/popup.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,8 @@ body #scopeKeys {
234234

235235
.matrix .matRow > .matCell:first-child {
236236
width: 18em;
237-
text-align: right;
238-
}
239-
.matrix .matRow.l2 > .matCell:first-child {
240-
/* direction: rtl; */
237+
text-align: start;
238+
direction: rtl;
241239
}
242240
.matrix .matRow > .matCell:hover {
243241
border-style: solid;

js/popup.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -738,14 +738,14 @@ function renderMatrixCellDomain(cell, domain) {
738738
$(cell).prop({reqType: '*', hostname: domain})
739739
.addClass(getCellClass(domain, '*'))
740740
.children('b')
741-
.text(punycode.toUnicode(domain));
741+
.text('\u202A'+punycode.toUnicode(domain));
742742
}
743743

744744
function renderMatrixCellSubdomain(cell, domain, subomain) {
745745
$(cell).prop({reqType: '*', hostname: subomain})
746746
.addClass(getCellClass(subomain, '*'))
747747
.children('b')
748-
.text(punycode.toUnicode(subomain.slice(0, subomain.lastIndexOf(domain)-1)) + '.')
748+
.text('\u202A'+punycode.toUnicode(subomain.slice(0, subomain.lastIndexOf(domain)-1)) + '.')
749749
.after(punycode.toUnicode(domain));
750750
}
751751

@@ -754,7 +754,7 @@ function renderMatrixMetaCellDomain(cell, domain) {
754754
.addClass(getCellClass(domain, '*'))
755755
.children('b')
756756
.text(punycode.toUnicode(domain))
757-
.before('\u2217.');
757+
.before('\u202A\u2217.');
758758
}
759759

760760
function renderMatrixCellType(cell, hostname, type, stats) {
@@ -819,7 +819,7 @@ function makeMatrixMetaRow(stats) {
819819
var cells = $('div', matrixRow);
820820
$(cells[0])
821821
.addClass('matCell rdt')
822-
.html('<i>' + typeStats['*'].count + ' blacklisted hostname(s)</i>');
822+
.html('\u202A' + typeStats['*'].count + ' blacklisted hostname(s)');
823823
renderMatrixMetaCellType(cells[1], typeStats.cookie.count);
824824
renderMatrixMetaCellType(cells[2], typeStats.stylesheet.count);
825825
renderMatrixMetaCellType(cells[3], typeStats.image.count);
@@ -1242,7 +1242,7 @@ function forceReload() {
12421242
/******************************************************************************/
12431243

12441244
function mouseenterMatrixCellHandler(event) {
1245-
HTTPSBPopup.matrixCellHotspots.prependTo(this);
1245+
HTTPSBPopup.matrixCellHotspots.appendTo(this);
12461246
}
12471247

12481248
function mouseleaveMatrixCellHandler() {

0 commit comments

Comments
 (0)