User

Difference between revisions of "Mathis Back/bluell.js"

Line 1: Line 1:
 
$( '#datasetsButton' ).html('').append(
 
$( '#datasetsButton' ).html('').append(
new OO.ui.ButtonWidget( {
+
    ( new OO.ui.ButtonInputWidget( {
label: 'Datasets',
+
        label: messages['button-gosearch'][userLanguage] ? messages['button-gosearch'][userLanguage] : messages['button-gosearch'].en
flags: [
+
    } ) ).on( 'click', doQuery ).$element
'primary',
 
'progressive'
 
]
 
} )
 
 
);
 
);

Revision as of 10:44, 15 September 2021

$( '#datasetsButton' ).html('').append(
    ( new OO.ui.ButtonInputWidget( {
        label: messages['button-gosearch'][userLanguage] ? messages['button-gosearch'][userLanguage] : messages['button-gosearch'].en
    } ) ).on( 'click', doQuery ).$element
);