removed == true in condition

This commit is contained in:
Thomas Hille
2017-11-16 17:11:37 +01:00
parent 9733d32665
commit 851beac4e7

View File

@ -580,7 +580,7 @@ configureEditors: function () {
* */
initializeInterventionTimer: function() {
if ($('#editor').data('rfc-interventions') == true || $('#editor').data('break-interventions') == true) { // split in break or rfc intervention
if ($('#editor').data('rfc-interventions') || $('#editor').data('break-interventions')) { // split in break or rfc intervention
window.onblur = function() { window.blurred = true; };
window.onfocus = function() { window.blurred = false; };