+3
-3
lines changedFilter options
+3
-3
lines changed Original file line number Diff line number Diff line change
@@ -223,9 +223,6 @@ const toLogDataInternal = function(categoryBits, tokenHash, iunit) {
223
223
const domains = [];
224
224
const logData = { pattern, regex, domains, options, isRegex: false };
225
225
filterUnits[iunit].logData(logData);
226
-
if ( categoryBits & 0x001 ) {
227
-
logData.pattern.unshift('@@');
228
-
}
229
226
if ( categoryBits & 0x002 ) {
230
227
logData.options.unshift('important');
231
228
}
@@ -246,6 +243,9 @@ const toLogDataInternal = function(categoryBits, tokenHash, iunit) {
246
243
) {
247
244
raw += '*';
248
245
}
246
+
if ( categoryBits & 0x001 ) {
247
+
raw = '@@' + raw;
248
+
}
249
249
if ( domains.length !== 0 ) {
250
250
options.push(`domain=${domains.join('|')}`);
251
251
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4