Skip to content

Commit

Permalink
DragDropHelper: Fix TSLint warnings (#1922)
Browse files Browse the repository at this point in the history
* Fix TSLint errors in DragDropHelper.tsx

* Add change file for PR
  • Loading branch information
Mike Wheaton authored and dzearing committed Jun 5, 2017
1 parent 2e2e984 commit 091ff00
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "DragDropHelper: Fix TSLint warnings",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ export class DragDropHelper implements IDragDropHelper {

// We need to add in data so that on Firefox we show the ghost element when dragging
onDragStart = (event: DragEvent) => {
event.dataTransfer.setData("id", root.id);
}
event.dataTransfer.setData('id', root.id);
};

events.on(root, 'dragstart', onDragStart);
events.on(root, 'mousedown', onMouseDown);
Expand Down

0 comments on commit 091ff00

Please sign in to comment.