More progress on S5.
Forgot to add gremlin zapping in app/views/wiki/edit.rhtml.
This commit is contained in:
parent
8359047fd5
commit
02c6ed2fa0
7 changed files with 83 additions and 34 deletions
5
public/s5/ui/default/math.css
Normal file
5
public/s5/ui/default/math.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
merror {display:inline;font-size:1em;}
|
||||
math[display=block] {overflow:auto;}
|
||||
math { white-space: nowrap }
|
||||
.maruku-eq-number {float:right}
|
||||
.blockquotesource {margin-left:1em;}
|
|
@ -530,9 +530,9 @@ function notOperaFix() {
|
|||
slides.setAttribute('href',slideCSS); // Gecko fix
|
||||
}
|
||||
if (isIE && document.styleSheets && document.styleSheets[0]) {
|
||||
document.styleSheets[0].addRule('img', 'behavior: url(ui/default/iepngfix.htc)');
|
||||
document.styleSheets[0].addRule('div', 'behavior: url(ui/default/iepngfix.htc)');
|
||||
document.styleSheets[0].addRule('.slide', 'behavior: url(ui/default/iepngfix.htc)');
|
||||
document.styleSheets[0].addRule('img', 'behavior: url(/s5/ui/default/iepngfix.htc)');
|
||||
document.styleSheets[0].addRule('div', 'behavior: url(/s5/ui/default/iepngfix.htc)');
|
||||
document.styleSheets[0].addRule('.slide', 'behavior: url(/s5/ui/default/iepngfix.htc)');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -622,7 +622,7 @@ function createNotesWindow() { // creates a window for our notes
|
|||
if (!s5NotesWindow || s5NotesWindow.closed) { // Create the window if it doesn't exist
|
||||
s5NotesWindowLoaded = false;
|
||||
// Note: Safari has a tendency to ignore window options preferring to default to the settings of the parent window, grr.
|
||||
s5NotesWindow = window.open('ui/s5-notes.html', 's5NotesWindow', 'top=0,left=0');
|
||||
s5NotesWindow = window.open('/s5/ui/s5-notes.html', 's5NotesWindow', 'top=0,left=0');
|
||||
}
|
||||
if (s5NotesWindowLoaded) { // Load the current note if the Note HTML has loaded
|
||||
loadNote();
|
||||
|
@ -809,4 +809,4 @@ function startup() {
|
|||
}
|
||||
|
||||
window.onload = startup;
|
||||
window.onresize = function(){setTimeout('windowChange()',5);}
|
||||
window.onresize = function(){setTimeout('windowChange()',5);}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue