1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-12 09:35:14 +02:00

dont open notes when S is pressed inside of notes window #991

This commit is contained in:
Hakim El Hattab
2014-09-27 16:19:39 +02:00
parent 80fc214af1
commit 0aad39f755

View File

@@ -96,6 +96,8 @@ var RevealNotes = (function() {
connect();
}
if( !/receiver/i.test( window.location.search ) ) {
// If the there's a 'notes' query set, open directly
if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) {
openNotes();
@@ -113,5 +115,8 @@ var RevealNotes = (function() {
}
}, false );
}
return { open: openNotes };
})();