Web View
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
require(['gitbook', 'jquery'], function(gitbook, $) {
|
||||
var opts;
|
||||
|
||||
gitbook.events.bind('start', function(e, config) {
|
||||
opts = config['hide-element'].elements;
|
||||
});
|
||||
|
||||
gitbook.events.bind('page.change', function() {
|
||||
$.map(opts, function(ele) {
|
||||
$(ele).hide();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user