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

Content deleted Content added
in theory this should still work...
fix?
Line 18:
});
}
var previewDiffButton = new OO.ui.ButtonWidgetButtonInputWidget({label:'Show preview and changes', useInputTag: true, value: 'wpPreview', });
previewDiffButton.setLabel("Show preview and changes");
previewDiffButton.setTitle("Show a preview of your changes, as well as a diff of what you changed");
$("#wpDiffWidget").after(previewDiffButton.$element);
previewDiffButton.$element.children("ainput").click(function()
{
var formAction = $("#editform").attr("action");