mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
Got these backwards.
This commit is contained in:
@@ -141,7 +141,7 @@ var fedmenu = function(options) { $(document).ready(function() {
|
||||
$.each(master_data, function(i, node) {
|
||||
$.each(node.children, function(j, leaf) {
|
||||
var theirs = normalize(leaf.data.url);
|
||||
if (theirs.indexOf(ours) === 0) found = leaf;
|
||||
if (ours.indexOf(theirs) === 0) found = leaf;
|
||||
})
|
||||
});
|
||||
return found;
|
||||
|
||||
@@ -141,7 +141,7 @@ var fedmenu = function(options) { $(document).ready(function() {
|
||||
$.each(master_data, function(i, node) {
|
||||
$.each(node.children, function(j, leaf) {
|
||||
var theirs = normalize(leaf.data.url);
|
||||
if (theirs.indexOf(ours) === 0) found = leaf;
|
||||
if (ours.indexOf(theirs) === 0) found = leaf;
|
||||
})
|
||||
});
|
||||
return found;
|
||||
|
||||
Reference in New Issue
Block a user