diff --git a/app/assets/javascripts/darkswarm/directives/fill_vertical.js.coffee b/app/assets/javascripts/darkswarm/directives/fill_vertical.js.coffee deleted file mode 100644 index b22de98f05..0000000000 --- a/app/assets/javascripts/darkswarm/directives/fill_vertical.js.coffee +++ /dev/null @@ -1,9 +0,0 @@ -angular.module('Darkswarm').directive "fillVertical", ($window)-> - # Makes something fill the window vertically. Used on the Google Map. - restrict: 'A' - link: (scope, element, attrs)-> - setSize = -> - element.css "height", ($window.innerHeight - element.offset().top) - setSize() - angular.element($window).bind "resize", -> - setSize()