]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Tidyup url
authorMarc Foley <m.foley.88@gmail.com>
Mon, 9 Jun 2025 14:15:17 +0000 (15:15 +0100)
committerMarc Foley <m.foley.88@gmail.com>
Mon, 9 Jun 2025 14:15:40 +0000 (15:15 +0100)
.ci/tags.html

index febb25a23398104eb1d63c99cec3ff14899d7984..00304f7eab33dd12e0edd3c1ec8cc9681c2ab76b 100644 (file)
@@ -385,14 +385,10 @@ function axesCombos(axes) {
     },
     mounted() {
       const urlParams = new URLSearchParams(window.location.search);
-      const category = urlParams.get('category');
       const categories = urlParams.get('categories');
       const filter = urlParams.get('filter');
       const sort_ = urlParams.get('sort');
       const reverse = urlParams.get('reverse');
-      if (category) {
-        this.currentCategory = category;
-      }
       if (categories) {
         this.currentCategories = categories.split(",");
       }
@@ -546,11 +542,6 @@ function axesCombos(axes) {
         } else {
           url.searchParams.delete('commit');
         }
-        if (this.currentCategory) {
-          url.searchParams.set('category', this.currentCategory);
-        } else {
-          url.searchParams.delete('category');
-        }
         if (this.currentCategories.length > 0) {
           url.searchParams.set('categories', this.currentCategories.join(","));
         } else {
@@ -582,7 +573,7 @@ function axesCombos(axes) {
       },
       edited(family) {
         this.isEdited = true;
-        this.history.push(`* ${family.name},${family.category},${family.Weight}`);
+        this.history.push(`* ${family.name},${family.category},${family.score}`);
         this.saveSession();
       },
       parseUnicode(str) {