1
0
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:
Dave Olsen 2013-11-12 11:28:50 -05:00
parent cef3fe9505
commit b55cc76524

View File

@ -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);
});
}