Skip to content

Commit 31583a6

Browse files
committed
log disabling ceval
1 parent a3fefd9 commit 31583a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/ceval/src/ctrl.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ module.exports = function(opts) {
160160
// stop when another tab starts
161161
lichess.storage.make('ceval.pool.start').listen(function() {
162162
// click on element, the only way to have chrome act on background tab
163-
if (enabled()) $('#analyse-toggle-ceval').click();
163+
if (enabled()) {
164+
console.log('ceval.pool.start, closing ceval');
165+
$('#analyse-toggle-ceval').click();
166+
}
164167
});
165168

166169
return {

0 commit comments

Comments
 (0)