You've already forked hastebin-ansi
mirror of
https://github.com/armbian/hastebin-ansi.git
synced 2026-01-06 12:30:55 -08:00
bring back the buttons -- turns out they're useful?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user