Skip to content
Snippets Groups Projects
Commit 18d1936d authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Get the local site's all.css from /wdn, don't go cross site

parent 01ca9459
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) { ...@@ -46,7 +46,7 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) {
//'div[style]/[*]'; //'div[style]/[*]';
ed.onBeforeSetContent.add(function(ed, o) { ed.onBeforeSetContent.add(function(ed, o) {
ed.dom.loadCSS("http://www.unl.edu/wdn/templates_3.0/css/all.css"); ed.dom.loadCSS("/wdn/templates_3.0/css/all.css");
ed.getBody().className += ' fixed'; ed.getBody().className += ' fixed';
ed.getBody().id = 'maincontent'; ed.getBody().id = 'maincontent';
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment