minor icon changes

This commit is contained in:
azivner
2018-11-09 20:45:28 +01:00
parent d978c64e1a
commit 4f34fb802b
35 changed files with 38 additions and 44 deletions

View File

@@ -75,7 +75,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {
/**
* @typedef {Object} ToolbarButtonOptions
* @property {string} title
* @property {string} [icon] - name of the jQuery UI icon to be used (e.g. "clock" for "ui-icon-clock" icon)
* @property {string} [icon] - name of the JAM icon to be used (e.g. "clock" for "jam-clock" icon)
* @property {function} action - callback handling the click on the button
* @property {string} [shortcut] - keyboard shortcut for the button, e.g. "alt+t"
*/
@@ -89,7 +89,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {
const buttonId = "toolbar-button-" + opts.title.replace(/[^a-zA-Z0-9]/g, "-");
const icon = $("<span>")
.addClass("ui-icon ui-icon-" + opts.icon);
.addClass("jam jam-" + opts.icon);
const button = $('<button>')
.addClass("btn btn-sm")
@@ -269,7 +269,7 @@ export default FrontendScriptApi;</code></pre>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Nov 08 2018 23:49:19 GMT+0100 (Central European Standard Time)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Nov 09 2018 14:44:34 GMT+0100 (Central European Standard Time)
</footer>
<script> prettyPrint(); </script>