From 9b4f8b4a3d81d4e3d9ab9cd0de888437ca27c349 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Mon, 11 Jul 2016 18:04:21 -0500 Subject: [PATCH] Docs: Some demos still using jQuery < 1.7 --- docs/js/docs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/js/docs.js b/docs/js/docs.js index 7ec0e124..fff6b88d 100644 --- a/docs/js/docs.js +++ b/docs/js/docs.js @@ -228,15 +228,15 @@ } // update stickyHeader when menu closes - $('#main-nav-check').on('change', function(){ + $('#main-nav-check').bind('change', function(){ setTimeout(function(){ $(window).scroll(); }, 350); // transition animation 300ms }); - $(window).on('load', function(){ + $(window).bind('load', function(){ if ($('#root').length) { - $(window).on('hashchange', function(){ + $(window).bind('hashchange', function(){ showProperty(); }); showProperty(); @@ -259,7 +259,7 @@ }); }); - $('.toggleparsedvalue').on('click', function(){ + $('.toggleparsedvalue').bind('click', function(){ $('.val').toggleClass('hidden'); return false; });