design optionen
This commit is contained in:
7
flag.js
7
flag.js
@@ -1,6 +1,11 @@
|
||||
(function(connector) {
|
||||
'use strict';
|
||||
|
||||
var style = 'default';
|
||||
if(document.body.dataset.feedbackstyle) {
|
||||
style = document.body.dataset.feedbackstyle;
|
||||
}
|
||||
|
||||
var iframe;
|
||||
var flag;
|
||||
var col = 'light';
|
||||
@@ -27,7 +32,7 @@
|
||||
document.body.appendChild(flag);
|
||||
|
||||
var form = document.createElement('form');
|
||||
form.action = connector+"?col="+col;
|
||||
form.action = connector+"?style="+style;
|
||||
form.target = 'flag-iframe';
|
||||
form.method = 'POST';
|
||||
const screenshotTarget = document.body;
|
||||
|
||||
Reference in New Issue
Block a user