Fixed Toolbar plugin example (#1726) There was a function parameter missing in one of the Toolbar plugin examples.
diff --git a/plugins/toolbar/index.html b/plugins/toolbar/index.html
index 5547c5d..5d8d63a 100644
--- a/plugins/toolbar/index.html
+++ b/plugins/toolbar/index.html
@@ -59,7 +59,7 @@
<p>If you need more control, you can provide a function to <code>registerButton</code> that returns either a <code>span</code>, <code>a</code>, or
<code>button</code> element.</p>
- <pre><code class="language-javascript">Prism.plugins.toolbar.registerButton('select-code', function() {
+ <pre><code class="language-javascript">Prism.plugins.toolbar.registerButton('select-code', function(env) {
var button = document.createElement('button');
button.innerHTML = 'Select Code';
@@ -131,4 +131,4 @@
<script src="code.js"></script>
</body>
-</html>
\ No newline at end of file
+</html>