mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Merge #469
This commit is contained in:
@@ -70,6 +70,9 @@ var Button = {
|
||||
var cd = btn.data("cooldown");
|
||||
var id = 'cooldown.'+ btn.attr('id');
|
||||
if(cd > 0) {
|
||||
if(typeof option == 'number') {
|
||||
cd = option;
|
||||
}
|
||||
// param "start" takes value from cooldown time if not specified
|
||||
var start, left;
|
||||
switch(option){
|
||||
|
||||
Reference in New Issue
Block a user