mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
ie now uses keydown
This commit is contained in:
parent
cb65224997
commit
cbeb464358
5 changed files with 5 additions and 6 deletions
|
@ -15,7 +15,7 @@ describe("indentation button", function(){
|
|||
//select this text element
|
||||
$firstTextElement.sendkeys('{selectall}');
|
||||
|
||||
if(inner$(window)[0].bowser.firefox){ // if it's a mozilla browser
|
||||
if(inner$(window)[0].bowser.firefox || inner$(window)[0].bowser.msie){ // if it's a mozilla or IE
|
||||
var evtType = "keypress";
|
||||
}else{
|
||||
var evtType = "keydown";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue