witten
/
luminotes
Archived
1
0
Fork 0

Changing debugging display of note contents as HTML to use display_message() instead of alert().

This commit is contained in:
Dan Helfman 2008-10-02 23:02:08 -07:00
parent 34c85b7381
commit fc925a36f8
1 changed files with 2 additions and 2 deletions

View File

@ -995,9 +995,9 @@ Wiki.prototype.editor_key_pressed = function ( editor, event ) {
var code = event.key().code;
if ( event.modifier().ctrl ) {
// ctrl-backtick: alert with frame HTML contents (temporary for debugging)
// ctrl-backtick: message with frame HTML contents (for debugging)
if ( code == 192 || code == 96 ) {
alert( editor.contents() );
this.display_message( editor.contents() );
event.stop();
// ctrl-b: bold
} else if ( code == 66 ) {