diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 9afc849e..ceefa695 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -457,8 +457,11 @@ requires }; $(function() { - $document.keydown(keydown); - $document.keypress(keydown); + if ($.browser.safari) { + $document.keydown(keydown); + } else { + $document.keypress(keydown); + } }); function keydown(event) { var key,