Changeset 39135

Show
Ignore:
Timestamp:
04/10/12 00:50:36 (14 months ago)
Author:
NeoCat
Message:

Pass-through Fn-key on Firefox

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/plugins/shortcutkey.js

    r39090 r39135  
    4646                        shortcutkey_plugin.last_event_date = date; 
    4747                } 
     48                if (ev.type == 'keypress' && navigator.userAgent.indexOf('Firefox') >= 0 && ev.charCode == 0 && ev.keyCode >= 112) 
     49                        return true; // FirefoxでFnキーを解釈しない 
    4850                 
    4951                var tw = null;