Remember that the content was narrow before
Steps to reproduce bug: ---------------------- 1. View page with narrow content 2. Edit page --> wide content (this is correct) 3. Cancel/Save 4. Page has now wide content, but should have narrow content Fix --- Only remember width of content when we are view a page, i.e. `do=show` SPR-982
This commit is contained in:
parent
3c819177e9
commit
bd04be26c6
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ jQuery(function () {
|
|||
setActive(stModes,$siteTools);
|
||||
setActive(utModes,$userTools);
|
||||
|
||||
if($body.is('.wide-content')) {
|
||||
if($body.is('.do-show') && $body.is('.wide-content')) {
|
||||
window.sessionStorage.setItem('wide-content', true);
|
||||
isWideContent = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue