fix remote control menu

This commit is contained in:
Luke Pulverenti 2016-03-26 23:49:09 -04:00
parent 81a24f35bc
commit 8c738547c6

View file

@ -165,7 +165,11 @@
setTimeout(function () {
dlg.querySelector('.chkMirror').addEventListener('change', onMirrorChange);
var chkMirror = dlg.querySelector('.chkMirror');
if (chkMirror) {
chkMirror.addEventListener('change', onMirrorChange);
}
dlg.open();