mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
toggling mobile nav bar after tap on buttons "New", "Clone" and "Send"
to ensure any messages are visible for #21.
This commit is contained in:
parent
da42968d7c
commit
428a9d9c41
@ -764,6 +764,8 @@ $(function() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('.navbar-toggle').click();
|
||||||
|
this.password.addClass('hidden');
|
||||||
this.showStatus(i18n._('Sending paste...'), true);
|
this.showStatus(i18n._('Sending paste...'), true);
|
||||||
|
|
||||||
var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0);
|
var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0);
|
||||||
@ -919,6 +921,7 @@ $(function() {
|
|||||||
|
|
||||||
this.showStatus('', false);
|
this.showStatus('', false);
|
||||||
this.message.text(this.clearText.text());
|
this.message.text(this.clearText.text());
|
||||||
|
$('.navbar-toggle').click();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -929,6 +932,7 @@ $(function() {
|
|||||||
this.stateNewPaste();
|
this.stateNewPaste();
|
||||||
this.showStatus('', false);
|
this.showStatus('', false);
|
||||||
this.message.text('');
|
this.message.text('');
|
||||||
|
$('.navbar-toggle').click();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user