Skip to content

Commit

Permalink
Merge pull request #720 from McBen/patch-1
Browse files Browse the repository at this point in the history
fix permalink (closes #719)
  • Loading branch information
modos189 authored Mar 26, 2024
2 parents 0976b27 + 59cef46 commit 622d26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/code/toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ IITC.toolbox = {
if (typeof buttonData.title === 'string') buttonElement.title = buttonData.title;
if (typeof buttonData.class === 'string') buttonElement.className = buttonData.class;
if (typeof buttonData.access_key === 'string') buttonElement.accessKey = buttonData.access_key;
if (typeof buttonData.mouseover === 'string') buttonElement.mouseover = buttonData.mouseover;
if (typeof buttonData.mouseover === 'function') buttonElement.onmouseover = buttonData.mouseover;

if (typeof buttonData.icon === 'string') {
const iconHTML = `<i class="fa ${buttonData.icon}"></i>`;
Expand Down

0 comments on commit 622d26f

Please sign in to comment.