Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Try to fix overlapping images in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
dcabo committed Aug 24, 2013
1 parent 9b372a3 commit db74091
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/assets/javascripts/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@ jQuery(document).ready(function($) {
});

/* -------------------- Isotope --------------------- */
/* dcabo: This was called on ready() in the original template, but images overlapped
when using Turbolinks (only in Firefox, maybe). See discussion at
https://github.com/rails/turbolinks/issues/159 */

jQuery(document).ready(function () {
jQuery(document).load(function () {

$('#wall').imagesLoaded(function() {

Expand Down

0 comments on commit db74091

Please sign in to comment.