More responsive resize of kanban and taskboard

stable
Jesús Espino 2014-10-13 14:04:14 +02:00
parent 870814255d
commit c1ec5315c5
2 changed files with 6 additions and 0 deletions

View File

@ -317,6 +317,9 @@ KanbanColumnHeightFixerDirective = ->
link = ($scope, $el, $attrs) ->
timeout(500, -> renderSize($el))
$scope.$on "resize", ->
renderSize($el)
$scope.$on "$destroy", ->
$el.off()

View File

@ -303,6 +303,9 @@ TaskboardTableHeightFixerDirective = ->
link = ($scope, $el, $attrs) ->
timeout(500, -> renderSize($el))
$scope.$on "resize", ->
renderSize($el)
return {link:link}