08.04.2019, 10:37
Add this to Custom JavaScript, change 32/1/7 to night mode object address.
Code:
if (typeof setVisDim === 'function') {
var oldfn = setVisDim, night;
setVisDim = function() {
// console.log('setVisDim', night);
if (night) {
oldfn();
}
}
$(function() {
grp.listen('32/1/7', function(obj) {
night = obj.value;
// console.log('night', night);
});
});
}