Small optimizations

This commit is contained in:
RainLoop Team 2014-04-10 20:03:07 +04:00
parent 83036c8341
commit cc9186377f
5 changed files with 31 additions and 21 deletions

View file

@ -264,7 +264,8 @@ function WebMailDataStorage()
this.message.focused(false);
this.hideMessageBodies();
if (Enums.Layout.NoPreview === RL.data().layout())
if (Enums.Layout.NoPreview === RL.data().layout() &&
-1 < window.location.hash.indexOf('message-preview'))
{
RL.historyBack();
}