DocPanel: fix example links
This commit is contained in:
parent
f91a513ee8
commit
adb3355975
1 changed files with 4 additions and 1 deletions
|
@ -155,7 +155,10 @@ Ox.DocPanel = function(options, self) {
|
||||||
if (item) {
|
if (item) {
|
||||||
item.examples = (
|
item.examples = (
|
||||||
item.examples || []
|
item.examples || []
|
||||||
).concat({id: example, title: title});
|
).concat({
|
||||||
|
id: example.split('/').pop(),
|
||||||
|
title: title
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue