Skip to content

Commit

Permalink
Fix safari incompatibilites
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Dec 6, 2019
1 parent 519124d commit 0732765
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
color: #444;
background: #f2f2f2;
overflow: hidden;
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 99999;
Expand Down Expand Up @@ -175,6 +176,10 @@
request.open(method, uri, true);
request.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
if (body instanceof URLSearchParams) {
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;charset=UTF-8');
}
if (addClass) {
toolbar.classList.add('ajax-loading');
}
Expand Down

0 comments on commit 0732765

Please sign in to comment.