mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
This commit is contained in:
parent
91f5584e9f
commit
fcf77ff2e9
1 changed files with 6 additions and 2 deletions
|
|
@ -389,7 +389,10 @@ var createHiddenTextNode = function(text) {
|
||||||
|
|
||||||
var createGap = function(tabId, url) {
|
var createGap = function(tabId, url) {
|
||||||
var tr = createRow('1');
|
var tr = createRow('1');
|
||||||
tr.classList.add('tab', 'canMtx', 'tab_' + tabId, 'maindoc');
|
tr.classList.add('tab');
|
||||||
|
tr.classList.add('canMtx');
|
||||||
|
tr.classList.add('tab_' + tabId);
|
||||||
|
tr.classList.add('maindoc');
|
||||||
tr.cells[firstVarDataCol].textContent = url;
|
tr.cells[firstVarDataCol].textContent = url;
|
||||||
tbody.insertBefore(tr, tbody.firstChild);
|
tbody.insertBefore(tr, tbody.firstChild);
|
||||||
};
|
};
|
||||||
|
|
@ -497,7 +500,8 @@ var renderLogEntry = function(entry) {
|
||||||
tr.cells[0].title = time.toLocaleDateString('fullwide', dateOptions);
|
tr.cells[0].title = time.toLocaleDateString('fullwide', dateOptions);
|
||||||
|
|
||||||
if ( entry.tab ) {
|
if ( entry.tab ) {
|
||||||
tr.classList.add('tab', classNameFromTabId(entry.tab));
|
tr.classList.add('tab');
|
||||||
|
tr.classList.add(classNameFromTabId(entry.tab));
|
||||||
if ( entry.tab === noTabId ) {
|
if ( entry.tab === noTabId ) {
|
||||||
tr.cells[1].appendChild(createHiddenTextNode('bts'));
|
tr.cells[1].appendChild(createHiddenTextNode('bts'));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue