More responsive resize of kanban and taskboard
parent
870814255d
commit
c1ec5315c5
|
@ -317,6 +317,9 @@ KanbanColumnHeightFixerDirective = ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
timeout(500, -> renderSize($el))
|
timeout(500, -> renderSize($el))
|
||||||
|
|
||||||
|
$scope.$on "resize", ->
|
||||||
|
renderSize($el)
|
||||||
|
|
||||||
$scope.$on "$destroy", ->
|
$scope.$on "$destroy", ->
|
||||||
$el.off()
|
$el.off()
|
||||||
|
|
||||||
|
|
|
@ -303,6 +303,9 @@ TaskboardTableHeightFixerDirective = ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
timeout(500, -> renderSize($el))
|
timeout(500, -> renderSize($el))
|
||||||
|
|
||||||
|
$scope.$on "resize", ->
|
||||||
|
renderSize($el)
|
||||||
|
|
||||||
return {link:link}
|
return {link:link}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue