User:Writ Keeper/Scripts/previewAndDiff.js: Difference between revisions

Content deleted Content added
test
hmm, it does that for me
Line 19:
}
var previewDiffButton = new OO.ui.ButtonInputWidget({label:'Show preview and changes', useInputTag: true, value: 'wpPreview', name: 'wpPreview', type:"submit", accessKey:"b", tabIndex: ($("#wpDiff").prop("tabIndex") + 1)});
previewDiffButton.setTitle("Show a preview of your changes, as well as a diff of what you changed [alt-shift-b]");
$("#wpDiffWidget").after(previewDiffButton.$element);