Browse Source

Added error message

Added exception because return nothing is hard to debug
pull/164/head
Nathalie Larsson 12 years ago
parent
commit
c9957564d3
  1. 2
      responsiveslides.js

2
responsiveslides.js

@ -175,7 +175,7 @@
// Make sure the timeout is at least 100ms longer than the fade // Make sure the timeout is at least 100ms longer than the fade
if (waitTime < fadeTime + 100) { if (waitTime < fadeTime + 100) {
return; throw new Error("Make sure the timeout is at least 100ms longer than the fade");
} }
// Pager // Pager

Loading…
Cancel
Save