Permalink
Browse files

Added a check to ensure jQuery was loaded. Otherwise, if it were not …

…loaded, you would have had a harder time figuring out what went wrong with the slideshow.
  • Loading branch information...
1 parent b1b582f commit f4ace695d678df911bd65da3e50c01e42b5ce6b5 @techiferous techiferous committed Jul 12, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 index.html
View
@@ -8,6 +8,11 @@
<link href="stylesheets/themes/basic.css" rel="stylesheet">
<link href="stylesheets/custom.css" rel="stylesheet">
<title>Twitning Talks</title>
+ <script>
+ if (typeof jQuery == 'undefined') {
+ alert('Could not load jQuery from Google. Check your Internet connection or install jQuery directly into your javascripts directory. Without jQuery, this slideshow will have layout and behavior errors.');
+ }
+ </script>
</head>
<body>
<div id="slideshow">

0 comments on commit f4ace69

Please sign in to comment.