+ currentTagFilter = tag;
+ this.setTitle();
+ },
+
+ setTagView: function (tag: string | null = null) {
+ if (tag === null) {
+ const target = this.currentTag();
+ if (!target) return;
+ tag = target.textContent!;
+ }
+ this.setTagFilter(tag);
+ },
+
+ setTitle: function () {
+ document.title = "Vopamoi: " + currentViewState + (currentTagFilter ? ": " + currentTagFilter : "");