Skip to content

Commit

Permalink
Update surname_table.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shogenapps committed Dec 20, 2023
1 parent e5c52fd commit 4bb7c74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/surname_table/surname_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function init() {

shouldInitializeFeature("surnameTable").then((result) => {
if (result) {
if (window.location.href.match(/layout=table/)) {
if (window.location.href.match(/layout=table|order=name/)) {
init();
}
}
Expand Down Expand Up @@ -302,6 +302,7 @@ async function initSurnameTableSorting() {
const url = new URL(window.location.href);
const params = url.searchParams;
const layout = params.get("layout");
const order = params.get("order");
const pinkSRC = chrome.runtime.getURL("images/pink_bricks.jpg");
const blueSRC = chrome.runtime.getURL("images/blue_bricks.jpg");
const pinkBricks = $("<img src='" + pinkSRC + "' class='pinkWall' title='Mother not known.'>");
Expand Down

0 comments on commit 4bb7c74

Please sign in to comment.