Fixed a bug in which fonts set in one browser did not always show up as selected within a different browser.
This commit is contained in:
parent
80432f3cbb
commit
290391899c
2
NEWS
2
NEWS
|
@ -1,4 +1,4 @@
|
|||
1.5.11:
|
||||
1.5.11: December 27, 2008
|
||||
* Added a font selection button to the toolbar.
|
||||
* Decreased the default note text font size, so now you can see more of your
|
||||
note text at once.
|
||||
|
|
|
@ -4258,8 +4258,8 @@ function Font_pulldown( wiki, notebook_id, invoker, anchor, editor ) {
|
|||
var current_font_family = editor.query_command_value( "fontname" );
|
||||
if ( current_font_family ) {
|
||||
current_font_family = current_font_family.toLowerCase();
|
||||
if ( WEBKIT )
|
||||
current_font_family = current_font_family.replace( /'/g, "" ).replace( /-webkit-/, "" );
|
||||
current_font_family = current_font_family.split( ',' )[ 0 ];
|
||||
}
|
||||
|
||||
for ( var i in fonts ) {
|
||||
|
|
Reference in New Issue