bring back the buttons -- turns out they're useful?

This commit is contained in:
Ricardo Pardini
2023-03-17 08:02:53 -03:00
parent ec6393209c
commit 9d791ec93b

View File

@@ -94,7 +94,10 @@ var haste = function (appName, options) {
this.options = options;
this.configureShortcuts();
this.configureButtons();
$('#box2').hide(); // hide the whole hastebin box
// If Twitter is disabled, hide the button
if (!options.twitter) {
$('#box2 .twitter').hide();
}
};
// Set the page title - include the appName