fix default value of smart fold button
This commit is contained in:
parent
b8fbb4027a
commit
014f3c15d3
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name onlinetichu.com card counter
|
// @name onlinetichu.com card counter
|
||||||
// @version 1.2.1
|
// @version 1.2.2
|
||||||
// @description automatically count cards at onlinetichu.com
|
// @description automatically count cards at onlinetichu.com
|
||||||
// @match *://*.onlinetichu.com/Site/Game/Table/*
|
// @match *://*.onlinetichu.com/Site/Game/Table/*
|
||||||
// @author Maximilian Keßler
|
// @author Maximilian Keßler
|
||||||
|
@ -187,7 +187,7 @@ function injectCounter() {
|
||||||
smartFoldButton.className = "btn btn-danger btn-xs";
|
smartFoldButton.className = "btn btn-danger btn-xs";
|
||||||
smartFoldButton.id = "smartFold";
|
smartFoldButton.id = "smartFold";
|
||||||
smartFoldButton.type = "button";
|
smartFoldButton.type = "button";
|
||||||
smartFoldButton.innerHTML = 'Smart fold: <span id="smartFoldValue" data-on="On" data-off="Off">Yes</span>';
|
smartFoldButton.innerHTML = 'Smart fold: <span id="smartFoldValue" data-on="On" data-off="Off">On</span>';
|
||||||
|
|
||||||
var showCardCounterButton = document.createElement('button');
|
var showCardCounterButton = document.createElement('button');
|
||||||
showCardCounterButton.className = "btn btn-primary btn-xs";
|
showCardCounterButton.className = "btn btn-primary btn-xs";
|
||||||
|
|
Loading…
Reference in a new issue