Changeset 35751

Show
Ignore:
Timestamp:
10/27/09 20:04:21 (5 years ago)
Author:
NeoCat
Message:

*fix -> button with decr_enter on

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/twicli.html

    r35739 r35751  
    337337function press(e) { 
    338338        if (e != 1) key_press_detected = true; 
    339         if (e != 1 && e.keyCode != 13 && e.keyCode != 10 || 
    340                 !decr_enter && (e.ctrlKey || e.shiftKey) || decr_enter && !(e.ctrlKey || e.shiftKey) ) 
     339        if (e != 1 && (e.keyCode != 13 && e.keyCode != 10 || 
     340                !decr_enter && (e.ctrlKey || e.shiftKey) || decr_enter && !(e.ctrlKey || e.shiftKey)) ) 
    341341                        return true; 
    342342        if (!key_press_detected) document.frm.status.value = document.frm.status.value.replace(/\n/g, "");