Skip to content

Commit

Permalink
Remove console.log()s from OSREC.superslide..prototype.toggle; Close o…
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDB committed Nov 1, 2018
1 parent 4c8377e commit e548e02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superslide-std.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,8 @@ OSREC.superslide.prototype.close = function (doPartialAnimation) {

OSREC.superslide.prototype.toggle = function () {
if (this.p.isOpen) {
console.log('close');
return this.close();
} else {
console.log('open');
return this.open();
}
};
Expand Down Expand Up @@ -401,4 +399,4 @@ if (hasDefine) {
// Assign to the global object
// This makes sure that the object really is assigned to the global scope
root.OSREC = OSREC;
}
}

0 comments on commit e548e02

Please sign in to comment.