Commits

Benjamin Dumke-von der Ehe  committed cc4ad96

The link called "tools" may or may not point to the "tools" page. Why would that confuse anybody?

  • Participants
  • Parent commits 76c91d9

Comments (0)

Files changed (2)

File sekeys.updating.user.js

             special.add("E", "suggested edits", { link: "#hlinks a.mod-flag-indicator.hotbg" });
             special.add("F", "flags", { link: "#hlinks a.mod-flag-indicator.supernovabg" });
             special.add("M", "mod", { link: "#hlinks a[href='/admin']" });
-            if ($("#hlinks a[href='/tools/']").length) {
+            if ($("#hlinks a:contains('tools')").length) {
                 special.add("R", "review", { url: "/review" });
-                special.add("T", "tools", { link: "#hlinks a[href='/tools/']" });
+                special.add("T", "tools", { url: "/tools" });
             } else if ($("#hlinks a[href='/review/']").length) {
-                special.add("R", "review", { link: "#hlinks a[href='/review/']" });
+                special.add("R", "review", { url: "/review" });
             }
             G.add("S", "special pages", { next: special });
             

File sekeys.user.js

             special.add("E", "suggested edits", { link: "#hlinks a.mod-flag-indicator.hotbg" });
             special.add("F", "flags", { link: "#hlinks a.mod-flag-indicator.supernovabg" });
             special.add("M", "mod", { link: "#hlinks a[href='/admin']" });
-            if ($("#hlinks a[href='/tools/']").length) {
+            if ($("#hlinks a:contains('tools')").length) {
                 special.add("R", "review", { url: "/review" });
-                special.add("T", "tools", { link: "#hlinks a[href='/tools/']" });
+                special.add("T", "tools", { url: "/tools" });
             } else if ($("#hlinks a[href='/review/']").length) {
-                special.add("R", "review", { link: "#hlinks a[href='/review/']" });
+                special.add("R", "review", { url: "/review" });
             }
             G.add("S", "special pages", { next: special });