From fc4d4f976157fc1adfaf349fc710f10ff0de70ad Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Tue, 18 Apr 2017 13:55:02 +0200 Subject: [PATCH] Cleanup useless code --- .../wp-zen-mode-toggle-button.directive.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/app/components/wp-buttons/wp-zen-mode-toggle-button/wp-zen-mode-toggle-button.directive.ts b/frontend/app/components/wp-buttons/wp-zen-mode-toggle-button/wp-zen-mode-toggle-button.directive.ts index adefd50a13..0d8edc2547 100644 --- a/frontend/app/components/wp-buttons/wp-zen-mode-toggle-button/wp-zen-mode-toggle-button.directive.ts +++ b/frontend/app/components/wp-buttons/wp-zen-mode-toggle-button/wp-zen-mode-toggle-button.directive.ts @@ -33,8 +33,6 @@ export class WorkPackageZenModeButtonController extends WorkPackageButtonControl public buttonId:string = 'work-packages-zen-mode-toggle-button'; public iconClass:string = 'icon-zen-mode'; - public iconClassDeactive:string = 'icon-zen-mode'; - public iconClassActive:string = 'icon-no-zen-mode'; public inZenMode:boolean = false; private activateLabel:string; @@ -66,22 +64,18 @@ export class WorkPackageZenModeButtonController extends WorkPackageButtonControl public performAction() { if (this.inZenMode) { // deactivate Zen Mode - console.log("ZEN MODE TOGGLE: deactivate"); this.inZenMode = false; angular.element('body').removeClass('zen-mode'); } else { // activate Zen Mode - console.log("ZEN MODE TOGGLE: activate"); this.inZenMode = true; angular.element('body').addClass('zen-mode'); } - // this.wpTableTimeline.toggle(); } } function wpZenModeToggleButton():ng.IDirective { return wpButtonDirective({ - // require: '^wpTimelineContainer', controller: WorkPackageZenModeButtonController }); }