mirror of
https://github.com/pattern-lab/patternlab-php.git
synced 2025-01-18 06:38:20 +01:00
changing what's get passed to code-viewer
This commit is contained in:
parent
df64c01444
commit
e5e5931048
@ -50,7 +50,7 @@ var codePattern = {
|
||||
if (codePattern.codeOverlayActive) {
|
||||
|
||||
var targetOrigin = (window.location.protocol == "file:") ? "*" : window.location.protocol+"//"+window.location.host;
|
||||
var obj = { "codeOverlay": "on", "lineage": lineage, "lineageR": lineageR, "html": document.getElementById("sg-pattern-html").textContent, "css": document.getElementById("sg-pattern-css").textContent };
|
||||
var obj = { "codeOverlay": "on", "lineage": lineage, "lineageR": lineageR, "codePatternPartial": patternPartial, "cssEnabled": cssEnabled };
|
||||
parent.postMessage(obj,targetOrigin);
|
||||
|
||||
} else if (codePattern.codeEmbeddedActive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user