diff --git a/js/reveal.js b/js/reveal.js
index c6d05d5df6ba7d3c6a9ccad8d10a5e8d5cec947d..2d85b89db471434072c88beef4a161d95f8f8b73 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3781,7 +3781,10 @@
 			}
 			catch ( error ) { }
 
-			if( element ) {
+			// Ensure that we're not already on a slide with the same name
+			var isSameNameAsCurrentSlide = currentSlide ? currentSlide.getAttribute( 'id' ) === name : false;
+
+			if( element && !isSameNameAsCurrentSlide ) {
 				// Find the position of the named slide and navigate to it
 				var indices = Reveal.getIndices( element );
 				slide( indices.h, indices.v );