Ver a proveniência

changed script name in places where it was missing

master
Haku há 3 anos
ascendente
cometimento
60316b7821
3 ficheiros alterados com 4 adições e 4 eliminações
  1. +1
    -1
      build/manifest.json
  2. +2
    -2
      src/buttons.ts
  3. +1
    -1
      src/settings.ts

+ 1
- 1
build/manifest.json Ver ficheiro

@@ -22,7 +22,7 @@
"js": ["scripts/helpers.js", "scripts/main.js"]
},
{
"matches": ["https://www.nationstates.net/page=blank/raspberry=settings"],
"matches": ["https://www.nationstates.net/page=blank/gauntlet=settings"],
"exclude_matches": ["https://forum.nationstates.net/*"],
"run_at": "document_idle",
"js": ["scripts/settings.js"]


+ 2
- 2
src/buttons.ts Ver ficheiro

@@ -12,7 +12,7 @@ function addButton(label: string, callback: (e: MouseEvent) => void)
document.querySelector('#loginswitcher').parentNode.insertBefore(belDiv, document.querySelector('#loginswitcher'));
}

addButton('Raspberry Settings', (e: MouseEvent): void =>
addButton('Gauntlet Settings', (e: MouseEvent): void =>
{
window.location.href = '/page=blank/raspberry=settings';
window.location.href = '/page=blank/gauntlet=settings';
});

+ 1
- 1
src/settings.ts Ver ficheiro

@@ -1,4 +1,4 @@
document.querySelector('#content').innerHTML = `<h1>Raspberry Settings</h1>
document.querySelector('#content').innerHTML = `<h1>Gauntlet Settings</h1>
<fieldset>
<legend>Keys</legend>
<table>


Carregando…
Cancelar
Guardar