no picker for behind-the-scene resources

This commit is contained in:
gorhill 2015-05-27 17:23:45 -04:00
parent d332298f40
commit a48574dd1b
1 changed files with 3 additions and 1 deletions

View File

@ -808,7 +808,9 @@ var urlFilteringDialog = (function() {
uDom(dialog).descendants('.picker').toggleClass(
'hide',
type !== 'image' || /(?:^| )[dlsu]b(?: |$)/.test(tr.className)
tr.classList.contains('tab_bts') ||
type !== 'image' ||
/(?:^| )[dlsu]b(?: |$)/.test(tr.className)
);
// Shortest URL which for a valid URL filtering rule