mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 400372 New composer page isn't unmodified r=glazou
This commit is contained in:
parent
26b136edfe
commit
4d9ccc762d
@ -2476,14 +2476,10 @@ function EditorSetDefaultPrefsAndDoctype()
|
||||
catch (ex) {}
|
||||
if ( prefCharsetString && prefCharsetString != 0)
|
||||
{
|
||||
element = domdoc.createElement("meta");
|
||||
if ( element )
|
||||
{
|
||||
element.setAttribute("http-equiv", "content-type");
|
||||
element.setAttribute("content", "text/html; charset=" + prefCharsetString);
|
||||
headelement.insertBefore( element, headelement.firstChild );
|
||||
editor.documentCharacterSet = prefCharsetString;
|
||||
}
|
||||
editor.enableUndo(false);
|
||||
editor.documentCharacterSet = prefCharsetString;
|
||||
editor.resetModificationCount();
|
||||
editor.enableUndo(true);
|
||||
}
|
||||
|
||||
var node = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user