Browse Source

additional_links can now specify a method

master
mortie 7 years ago
parent
commit
94af09005d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/script.js

+ 1
- 1
web/script.js View File

@@ -5,7 +5,7 @@ get("/additional-links", function(err, res) {
JSON.parse(res).forEach(function(link) {
var form = document.createElement("form");
form.className = "part";
form.method = "get";
form.method = link.method || "get";
form.action = link.url;

var btn = document.createElement("button");

Loading…
Cancel
Save