minnojs / minno-quest

A js framework for creating questionnaires
http://minnojs.github.io
Apache License 2.0
4 stars 3 forks source link

Double-click text presentation bug #147

Closed eladzlot closed 7 years ago

eladzlot commented 7 years ago

From @baranan In Chrome, using the code pasted below, double-clicking a button and then moving the mouse away from the button hides the button's text:

define(['questAPI'], function(Quest){
    var API = new Quest();
    API.addSequence(
    [
        {
            progressBar: '<%= pagesMeta.number %> out of 10',
            questions : {
                type: 'selectOne',
                style:'multiButtons',
                errorMsg: {
                    required: "Please select an answer, or click 'decline to answer'"
                },
                name:'item1',
                stem : 'On the whole, I am satisfied with myself.',
                answers : ['Strongly Disagree', 'Disagree', 'Agree', 'Strongly Agree']
            }
        }
    ]);
    return API.script;
});