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:
El RIDO 2015-09-12 10:23:12 +02:00
parent da42968d7c
commit 428a9d9c41

View File

@ -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();
}, },
/** /**