fix used key

pull/1/head
yann300 7 years ago
parent 7288f1c17e
commit 3c63421fc9
  1. 6
      test-browser/plugin/remix.js

@ -9,7 +9,7 @@ window.onload = function () {
document.querySelector('input#testmessageadd').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'setConfig',
value: [document.getElementById('filename').value, document.getElementById('valuetosend').value],
id: 34
@ -19,7 +19,7 @@ window.onload = function () {
document.querySelector('input#testmessageremove').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'removeConfig',
value: [document.getElementById('filename').value],
id: 35
@ -29,7 +29,7 @@ window.onload = function () {
document.querySelector('input#testmessagerget').addEventListener('click', function () {
window.parent.postMessage(JSON.stringify({
action: 'request',
key: 'editor',
key: 'config',
type: 'getConfig',
value: [document.getElementById('filename').value],
id: 36

Loading…
Cancel
Save