Remove unused fillVertical angular directive

This commit is contained in:
Cillian O'Ruanaidh
2022-12-16 13:10:36 +00:00
parent d90d352a86
commit d79b4bdcf9

View File

@@ -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()