mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
webui: contains => match
This commit is contained in:
parent
5979d2f827
commit
c5f127f3b1
@ -11,9 +11,9 @@ function goback(){
|
||||
|
||||
function buildmenu(menu, tagname, runstate, ignore){
|
||||
if (
|
||||
(menu.runstate === undefined || runstate.match(menu.runstate))
|
||||
(menu.runstate === undefined || runstate.match(menu.runstate)!=null)
|
||||
&& (!ignore.match(menu.name))
|
||||
&& (menu.path === undefined || !menu.path.contains(":"))
|
||||
&& (menu.path === undefined || menu.path.match(":")==null)
|
||||
&& (menu.show === undefined || menu.show)
|
||||
) {
|
||||
var name = menu.name;
|
||||
|
Loading…
Reference in New Issue
Block a user