Skip to content

Commit

Permalink
add binder buttons at the end of header-container,
Browse files Browse the repository at this point in the history
so they are also visible in notebook and edit view
  • Loading branch information
bitnik committed Oct 5, 2018
1 parent 2098466 commit f04faf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/appendix/static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function add_binder_buttons() {
if ($("#ipython_notebook").length && $("#ipython_notebook>a").length) {
s.append(copy_button.replace(/{name}/g, 'session').replace('{url}', window.location.origin.concat($("#ipython_notebook>a").attr('href'))));
}
// add buttons after span.flex-spacer
s.insertAfter($("#header-container>.flex-spacer"));
// add buttons at the end of header-container
$("#header-container").append(s);
}

add_binder_buttons();

0 comments on commit f04faf0

Please sign in to comment.