datavis-glide 4.0.0-PRE.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wcdatavis.min.js +1 -1
- package/package.json +1 -1
- package/src/util/misc.js +1 -1
package/package.json
CHANGED
package/src/util/misc.js
CHANGED
|
@@ -653,7 +653,7 @@ export function setElement(container, value, opts) {
|
|
|
653
653
|
// makeOperationButton {{{2
|
|
654
654
|
|
|
655
655
|
function makeOperationIcon(op) {
|
|
656
|
-
if (op.iconType === 'fontawesome') {
|
|
656
|
+
if (op.iconType === 'fontawesome' || op.icon.substr(0, 3) === 'fa-') {
|
|
657
657
|
return fontAwesome(op.icon).get(0);
|
|
658
658
|
}
|
|
659
659
|
return icon(op.icon).get(0);
|