diff --git a/plugins/toolbar/index.html b/plugins/toolbar/index.html index 5547c5de85..5d8d63a1e7 100644 --- a/plugins/toolbar/index.html +++ b/plugins/toolbar/index.html @@ -59,7 +59,7 @@
If you need more control, you can provide a function to registerButton
that returns either a span
, a
, or
button
element.
Prism.plugins.toolbar.registerButton('select-code', function() {
+ Prism.plugins.toolbar.registerButton('select-code', function(env) {
var button = document.createElement('button');
button.innerHTML = 'Select Code';
@@ -131,4 +131,4 @@ How to use