diff --git a/common/changes/office-ui-fabric-react/miwhea-dragdrophelper-tslint_2017-06-02-20-06.json b/common/changes/office-ui-fabric-react/miwhea-dragdrophelper-tslint_2017-06-02-20-06.json new file mode 100644 index 00000000000000..c3bb729f4ed237 --- /dev/null +++ b/common/changes/office-ui-fabric-react/miwhea-dragdrophelper-tslint_2017-06-02-20-06.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "DragDropHelper: Fix TSLint warnings", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "miwhea@microsoft.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/utilities/dragdrop/DragDropHelper.tsx b/packages/office-ui-fabric-react/src/utilities/dragdrop/DragDropHelper.tsx index b1ba91aa2cb7a1..ca8337c6174877 100644 --- a/packages/office-ui-fabric-react/src/utilities/dragdrop/DragDropHelper.tsx +++ b/packages/office-ui-fabric-react/src/utilities/dragdrop/DragDropHelper.tsx @@ -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);