MDL-64506 templates: Move BS2 btns' to BS4 btns'
[moodle.git] / lib / editor / atto / plugins / equation / yui / src / button / js / button.js
index 6db2cb8..cb75f7c 100644 (file)
@@ -65,7 +65,7 @@ var COMPONENTNAME = 'atto_equation',
                 '<div id="{{elementid}}_cursorinfo">{{get_string "cursorinfo" component}}</div>' +
                 '<div class="mdl-align">' +
                     '<br/>' +
-                    '<button class="btn btn-default {{CSS.SUBMIT}}">{{get_string "saveequation" component}}</button>' +
+                    '<button class="btn btn-secondary {{CSS.SUBMIT}}">{{get_string "saveequation" component}}</button>' +
                 '</div>' +
             '</form>',
         LIBRARY: '' +
@@ -86,7 +86,7 @@ var COMPONENTNAME = 'atto_equation',
                         'id="{{../elementid}}_{{../CSS.LIBRARY_GROUP_PREFIX}}_{{@key}}">' +
                             '<div role="toolbar">' +
                             '{{#split "\n" elements}}' +
-                                '<button class="btn btn-default" tabindex="-1" data-tex="{{this}}"' +
+                                '<button class="btn btn-secondary" tabindex="-1" data-tex="{{this}}"' +
                                     'aria-label="{{this}}" title="{{this}}">' +
                                     '{{../../DELIMITERS.START}}{{this}}{{../../DELIMITERS.END}}' +
                                 '</button>' +