Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit b55cc76

Browse files
committed
making sure the lineage link actually works
1 parent cef3fe9 commit b55cc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/styleguide/js/code-viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var codeViewer = {
100100
$("#sg-code-lineage-fill").html(lineageList);
101101

102102
$('#sg-code-lineage-fill a').on("click", function(e){
103-
e.preventDefault;
103+
e.preventDefault();
104104
document.getElementById("sg-viewport").contentWindow.postMessage( { "path": urlHandler.getFileName($(this).attr("data-patternpartial")) }, urlHandler.targetOrigin);
105105
});
106106
}

0 commit comments

Comments
 (0)