diff --git a/source/site/javascripts/webkit-scrollbar.js b/source/site/javascripts/webkit-scrollbar.js index d80bf4e..a88ff26 100644 --- a/source/site/javascripts/webkit-scrollbar.js +++ b/source/site/javascripts/webkit-scrollbar.js @@ -1,5 +1,10 @@ $(document).ready(function(){ - if (navigator.userAgent.match(/Mobile.*Safari|Safari.*Mobile/i) !== null || navigator.userAgent.match(/Safari/) == null) { - $("body").css("position", "static").css("overflow-y", "auto").css("overflow-x", "auto").css("right", ""); + if (navigator.userAgent.match(/Mobile.*Safari|Safari.*Mobile/i) !== null || + navigator.userAgent.match(/Safari/) == null) { + $("body") + .css("position", "static") + .css("overflow-y", "auto") + .css("overflow-x", "auto") + .css("right", ""); }; -}); \ No newline at end of file +});