Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #32 from DAaaS/JoshCu-Firefox-SL7.6-copypaste
Browse files Browse the repository at this point in the history
Custom.js - adjust unlock timing for slow machines
  • Loading branch information
jeremyspencer39171 authored Jul 11, 2019
2 parents 2cf4e80 + 67abaf9 commit 54c952e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/scripts/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ $(document).ready(function(){
lock();
combotype = 1;
console.log("Document catch Ctrl+V");
unlock();
setTimeout(unlock,4);
return;
}
else {
lock();
combotype = 2;
console.log("Document catch Ctrl+Shift+V");
unlock();
setTimeout(unlock,4);
return;
}
}
Expand Down Expand Up @@ -327,7 +327,7 @@ $(document).ready(function(){
unlock();
var str = $("#paste_box").val();
rfb.clipboardPasteFrom(str);
sendShiftInsert();
setTimeout(sendShiftInsert,5);
}

rfb.addEventListener("connect", onConnected);
Expand Down

0 comments on commit 54c952e

Please sign in to comment.