This commit is contained in:
gorhill 2015-06-07 09:50:38 -04:00
parent 40ebd3e8a8
commit 0df09ba193
1 changed files with 2 additions and 1 deletions

View File

@ -933,11 +933,12 @@ var filteringDialog = (function() {
var fillOriginSelect = function(select, hostname, domain) {
var option, pos;
var template = vAPI.i18n('loggerStaticFilteringSentencePartOrigin');
var value = hostname;
for (;;) {
option = document.createElement('option');
option.setAttribute('value', value);
option.textContent = value;
option.textContent = template.replace('{{origin}}', value);
select.appendChild(option);
if ( value === domain ) {
break;