Преглед изворни кода

additional_links can now specify a method

master
mortie пре 7 година
родитељ
комит
94af09005d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      web/script.js

+ 1
- 1
web/script.js Прегледај датотеку

@@ -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…
Откажи
Сачувај