Skip to content

Commit 2dc10b7

Browse files
committed
bugfix: Add data attribute to NodeCard link so it isn't captured by canvas controls
1 parent 9829327 commit 2dc10b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/sfu/courses/[dept]/[number]/CourseGraph.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ function NodeCard({
309309
<>
310310
This course hasn&apos;t been parsed yet. Contribute today at{" "}
311311
<a
312+
data-pan-block
312313
href="https://crowdsource.sfucourses.com"
313314
className="underline hover:opacity-80"
314315
target="_blank"

0 commit comments

Comments
 (0)