Explorar o código

Merge pull request #2333 from dougalsutherland/patch-2

remove unused `isPrintingPDFFragments` function
Hakim El Hattab %!s(int64=5) %!d(string=hai) anos
pai
achega
d549204ef1
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      js/reveal.js

+ 0 - 9
js/reveal.js

@@ -1829,15 +1829,6 @@
 
 	}
 
-	/**
-	 * Check if this instance is being used to print a PDF with fragments.
-	 */
-	function isPrintingPDFFragments() {
-
-		return ( /print-pdf-fragments/gi ).test( window.location.search );
-
-	}
-
 	/**
 	 * Hides the address bar if we're on a mobile device.
 	 */