Skip to content

Commit

Permalink
Change Chrome fix to Webkit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Jan 7, 2012
1 parent ec79af4 commit 727eb75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stellar.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
this._findParticles();
this._findBackgrounds();

// Fix for Chrome background rendering bug
if (navigator.userAgent.indexOf('Chrome') > 0) {
// Fix for Webkit background rendering bug
if (navigator.userAgent.indexOf('Webkit') > 0) {
$(window).load(function(){
var oldLeft = self._getScrollLeft(),
oldTop = self._getScrollTop();
Expand Down
2 changes: 1 addition & 1 deletion stellar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 727eb75

Please sign in to comment.