fix favtags (still untyped)
This commit is contained in:
@@ -100,7 +100,9 @@
|
|||||||
Danbooru.RelatedTag.favorite_tags = function() {
|
Danbooru.RelatedTag.favorite_tags = function() {
|
||||||
var string = Danbooru.meta("favorite-tags");
|
var string = Danbooru.meta("favorite-tags");
|
||||||
if (string) {
|
if (string) {
|
||||||
return Danbooru.meta("favorite-tags").match(/\S+/g);
|
return $.map(string.match(/\S+/g), function(x, i) {
|
||||||
|
return [[x, 0]];
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user