This website works better with JavaScript.
Home
Explore
Help
Sign In
public
/
autodoc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
eval is evil
master
Pascal Gloor
6 years ago
parent
045c6e0d78
commit
0c4a5aa09e
1 changed files
with
4 additions
and
2 deletions
Split View
Show Diff Stats
4
2
www/js/autodoc.js
+ 4
- 2
www/js/autodoc.js
View File
@@ -217,8 +217,10 @@ function change_page() {
});
if (conf.pageinit[hash]) {
if ( window[conf.pageinit[hash]] ) {
window[conf.pageinit[hash]](args);
var func = conf.pageinit[hash];
console.log(func);
if ( window[func] ) {
window[func](args);
}
}
}
Write
Preview
Loading…
Cancel
Save