mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Removed inline handlers in chromium extension settings, fixes GH-38
This commit is contained in:
parent
9f63504633
commit
54c3eb9cc0
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Maloja Scrobbler",
|
||||
"version": "1.6",
|
||||
"version": "1.7",
|
||||
"description": "Scrobbles tracks from various sites to your Maloja server",
|
||||
"manifest_version": 2,
|
||||
"permissions": [
|
||||
|
@ -29,10 +29,10 @@
|
||||
<body>
|
||||
<div id="wat">
|
||||
<span id="checkmark_url"></span> <span>Server:</span><br />
|
||||
<input type="text" id="serverurl" oninput="saveConfig()" />
|
||||
<input type="text" id="serverurl" />
|
||||
<br /><br />
|
||||
<span id="checkmark_key"></span> <span>API key:</span><br />
|
||||
<input type="text" id="apikey" oninput="saveConfig()" />
|
||||
<input type="text" id="apikey" />
|
||||
<br/><br/>
|
||||
<span>Tabs:</span>
|
||||
<list id="playinglist">
|
||||
|
@ -12,6 +12,9 @@ document.addEventListener("DOMContentLoaded",function() {
|
||||
document.getElementById("serverurl").addEventListener("focusout",checkServer);
|
||||
document.getElementById("apikey").addEventListener("focusout",checkServer);
|
||||
|
||||
document.getElementById("serverurl").addEventListener("input",saveConfig);
|
||||
document.getElementById("apikey").addEventListener("input",saveConfig);
|
||||
|
||||
|
||||
chrome.runtime.onMessage.addListener(onInternalMessage);
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user