mediawiki-extensions-OATHAuth/modules/totp/ext.oath.showqrcode.js
Dejan Savuljesku ea984e5c2b Refactor the extension to support multiple auth modules
Please note, this patch requires a schema change before merging

Change-Id: I71286534d21d95083436d64d79811943c1a1d032
ERM: #14484
Bug: T218210
2019-06-18 10:45:21 +00:00

6 lines
165 B
JavaScript

$( function () {
// eslint-disable-next-line no-jquery/no-global-selector
var $elm = $( '.mw-display-qrcode' );
$elm.qrcode( $elm.data( 'mw-qrcode-url' ) );
} );