Fix ts error

pull/5936/head
Henriette Dinger 7 years ago
parent d972f9b19a
commit 247a5a0bc0
  1. 2
      frontend/app/components/wp-resizer/wp-resizer.directive.ts

@ -64,7 +64,7 @@ export class WorkPackageResizerController {
// Change cursor icon
// This is handled via JS to ensure
// that the cursor stays the same even when the mouse leaves the actual resizer.
document.getElementsByTagName("body")[0].style = 'cursor: col-resize !important';
document.getElementsByTagName("body")[0].setAttribute('style', 'cursor: col-resize !important');
// Enable mouse move
window.addEventListener('mousemove', this.mouseMoveHandler);

Loading…
Cancel
Save