Commit f447c02c authored by Ahoy's avatar Ahoy

Buttons fix

parent ed51d44a
Pipeline #11555724 passed with stages
in 53 seconds
......@@ -35,8 +35,8 @@ function yo() {
? options.bg.replace(/[^0-9a-z]/ig, '')
: '2A3440';
var buttons = {};
if (options.button) {
var buttons = {};
options.button.split(',').forEach(function (button) {
var btn = button.split(':');
if (btn.length === 2 && btn[0] && btn[1]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment