Fix custom filter list box glitch; minor code review

This commit is contained in:
Chris 2015-04-17 15:23:46 -06:00
parent 4940f47174
commit 06a3526207
3 changed files with 6 additions and 4 deletions

View File

@ -140,10 +140,10 @@ span.new {
background-color: hsl(36, 100%, 75%);
}
#externalListsDiv {
margin: 2em auto 0 2em;
margin: 2em auto 0 1em;
}
body[dir=rtl] #externalListsDiv {
margin: 2em 2em 0;
margin: 2em 1em 0;
}
#externalLists {
box-sizing: border-box;

View File

@ -76,6 +76,9 @@ var renderFilterLists = function() {
var renderElapsedTimeToString = vAPI.i18n.renderElapsedTimeToString;
var lastUpdateString = vAPI.i18n('3pLastUpdate');
// Don't lose the custom filter textbox
uDom('#templates').append(uDom('#externalListsDiv'));
// Assemble a pretty blacklist name if possible
var listNameFromListKey = function(listKey) {
if ( listKey === listDetails.userFiltersPath ) {

View File

@ -74,8 +74,7 @@ return {
'behind-the-scene',
'chrome-extension-scheme',
'chrome-scheme',
'opera-scheme',
''
'opera-scheme'
].join('\n').trim(),
localSettings: {