From 5291100d3adb5f1b94ccc78429795057b2976a81 Mon Sep 17 00:00:00 2001 From: Samuel Parry Date: Wed, 14 Dec 2016 11:19:32 +1100 Subject: [PATCH] Update docs for newer jQuery --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0adb338..bab50b5 100644 --- a/index.html +++ b/index.html @@ -142,7 +142,7 @@

Callback

}

$("img").unveil(200, function() {
-   $(this).load(function() {
+   $(this).on('load', function() {
    this.style.opacity = 1;
  });
});