diff --git a/js/reveal.js b/js/reveal.js
index 3520f0cb39cfb8af63294afc7422787cb2ec1335..a1a91d015ec31e138d126f5ba996b67bf5bc171b 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -4054,7 +4054,10 @@
 		// If, after clicking a link or similar and we're coming back,
 		// focus the document.body to ensure we can use keyboard shortcuts
 		if( isHidden === false && document.activeElement !== document.body ) {
-			document.activeElement.blur();
+			// Not all elements support .blur() - SVGs among them.
+			if (typeof document.activeElement.blur === 'function') {
+				document.activeElement.blur();
+			}
 			document.body.focus();
 		}