From 401b804931066ef6529abf015dbdf611787b0234 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 15 Jul 2012 22:34:48 +0100 Subject: [PATCH] Add support for "nomatch" to the reveal macro --- core/modules/macros/reveal.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/modules/macros/reveal.js b/core/modules/macros/reveal.js index 54ecbf90e..4f0863316 100644 --- a/core/modules/macros/reveal.js +++ b/core/modules/macros/reveal.js @@ -52,6 +52,10 @@ exports.readState = function() { case "match": this.readMatchState(state); break; + case "nomatch": + this.readMatchState(state); + this.isOpen = !this.isOpen; + break; } } };