dont open notes when S is pressed inside of notes window #991
This commit is contained in:
		| @@ -96,6 +96,8 @@ var RevealNotes = (function() { | |||||||
| 		connect(); | 		connect(); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | 	if( !/receiver/i.test( window.location.search ) ) { | ||||||
|  |  | ||||||
| 		// If the there's a 'notes' query set, open directly | 		// If the there's a 'notes' query set, open directly | ||||||
| 		if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { | 		if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { | ||||||
| 			openNotes(); | 			openNotes(); | ||||||
| @@ -113,5 +115,8 @@ var RevealNotes = (function() { | |||||||
| 			} | 			} | ||||||
| 		}, false ); | 		}, false ); | ||||||
|  |  | ||||||
|  | 	} | ||||||
|  |  | ||||||
| 	return { open: openNotes }; | 	return { open: openNotes }; | ||||||
|  |  | ||||||
| })(); | })(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user