1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00
This commit is contained in:
gorhill 2015-06-07 09:50:38 -04:00
parent 40ebd3e8a8
commit 0df09ba193

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;