mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
webui: contains => match
This commit is contained in:
parent
5979d2f827
commit
c5f127f3b1
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue