mirror of
https://github.com/pattern-lab/patternlab-php.git
synced 2025-01-29 11:59:16 +01:00
making sure the lineage link actually works
This commit is contained in:
parent
cef3fe9505
commit
b55cc76524
@ -100,7 +100,7 @@ var codeViewer = {
|
||||
$("#sg-code-lineage-fill").html(lineageList);
|
||||
|
||||
$('#sg-code-lineage-fill a').on("click", function(e){
|
||||
e.preventDefault;
|
||||
e.preventDefault();
|
||||
document.getElementById("sg-viewport").contentWindow.postMessage( { "path": urlHandler.getFileName($(this).attr("data-patternpartial")) }, urlHandler.targetOrigin);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user