Skip to content

Commit

Permalink
work for the #7121 (#7186)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Oct 19, 2023
1 parent 5ca363d commit 33512c9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/dragdrop/ranking-select-to-rank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ import { DragDropRankingChoices } from "./ranking-choices";
import { QuestionRankingModel } from "../question_ranking";

export class DragDropRankingSelectToRank extends DragDropRankingChoices {
protected onStartDrag(event: PointerEvent): void {
const target = <HTMLElement>event.target;
const fromContainerNode = <HTMLElement>target.closest(".sv-ranking__container--from");
if (!!fromContainerNode) {
fromContainerNode.style.minHeight = fromContainerNode.offsetHeight + "px";
}
}

protected findDropTargetNodeByDragOverNode(
dragOverNode: HTMLElement
): HTMLElement {
Expand Down

0 comments on commit 33512c9

Please sign in to comment.