diff --git a/openlibrary/plugins/openlibrary/bulk_tag.py b/openlibrary/plugins/openlibrary/bulk_tag.py index 16b378ec9412..0fb0db9f1619 100644 --- a/openlibrary/plugins/openlibrary/bulk_tag.py +++ b/openlibrary/plugins/openlibrary/bulk_tag.py @@ -35,7 +35,9 @@ def POST(self): for subject_type, remove_list in tags_to_remove.items(): if remove_list: current_subjects[subject_type] = [ - item for item in current_subjects[subject_type] if item not in remove_list + item + for item in current_subjects[subject_type] + if item not in remove_list ] w[subject_type] = current_subjects[subject_type] diff --git a/openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js b/openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js index 700e0e2f59c4..8ddc1acd2dd5 100644 --- a/openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js +++ b/openlibrary/plugins/openlibrary/js/bulk-tagger/models/Tag.js @@ -79,4 +79,4 @@ export class Tag { } return result } -} \ No newline at end of file +} diff --git a/static/css/components/tagging-menu.less b/static/css/components/tagging-menu.less index 02ffaa52303d..0ba4a4cd3747 100644 --- a/static/css/components/tagging-menu.less +++ b/static/css/components/tagging-menu.less @@ -248,7 +248,7 @@ &::before { content: "person"; - } + } } &--time { background-color: @dark-yellow; @@ -256,14 +256,14 @@ &::before { content: "time"; - } + } } &--subject { background-color: @primary-blue; &::before { content: "subject"; - } + } } } }