update reveal.js
This commit is contained in:
@@ -137,7 +137,7 @@ const Plugin = () => {
|
||||
|
||||
this.setRegex = function(input)
|
||||
{
|
||||
input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|");
|
||||
input = input.trim();
|
||||
matchRegex = new RegExp("(" + input + ")","i");
|
||||
}
|
||||
|
||||
@@ -235,7 +235,9 @@ const Plugin = () => {
|
||||
|
||||
},
|
||||
|
||||
open: openSearch
|
||||
open: openSearch,
|
||||
close: closeSearch,
|
||||
toggle: toggleSearch
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user