Selaa lähdekoodia

Delete console output.

Michael Kühnel 12 vuotta sitten
vanhempi
sitoutus
13e7550afe
2 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 2
      plugin/notes/notes.html
  2. 0 1
      plugin/notes/notes.js

+ 1 - 2
plugin/notes/notes.html

@@ -109,8 +109,7 @@
 
 					window.addEventListener( 'message', function( event ) {
 						var data = JSON.parse( event.data );
-						console.log(data);
-						// No need for updating the notes in case of fragement changes
+						// No need for updating the notes in case of fragment changes
 						if ( data.notes !== undefined) {
 							if( data.markdown ) {
 								notes.innerHTML = (new Showdown.converter()).makeHtml( data.notes );

+ 0 - 1
plugin/notes/notes.js

@@ -29,7 +29,6 @@ var RevealNotes = (function() {
 		 *                                 set in the events above to define the needed slideDate.
 		 */
 		function post(eventType) {
-			console.log(eventType);
 			var slideElement = Reveal.getCurrentSlide(),
 				indexh = Reveal.getIndices().h,
 				indexv = Reveal.getIndices().v,