From 59130e0bda562ebf8349e257d2c139e1e7178ca6 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Sun, 18 Dec 2016 13:02:49 +0000 Subject: [PATCH] Fixed broken time check --- resources/assets/scripts/app/directives/track-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/scripts/app/directives/track-editor.coffee b/resources/assets/scripts/app/directives/track-editor.coffee index 260230dc..a1ecc94b 100644 --- a/resources/assets/scripts/app/directives/track-editor.coffee +++ b/resources/assets/scripts/app/directives/track-editor.coffee @@ -33,7 +33,7 @@ module.exports = angular.module('ponyfm').directive 'pfmTrackEditor', () -> $scope.isAdmin = auth.data.isAdmin albumsDb = {} - $scope.disableHwc = new Date < new Date('2016-12-20 23:59:59') + $scope.disableHwc = new Date > new Date('2016-12-20 23:59:59') $scope.data = upload $scope.userSlug = $state.params.slug