Remove cookie check for the new layout
This commit is contained in:
parent
df2883bfb6
commit
e81acf7a71
1 changed files with 1 additions and 6 deletions
|
@ -83,12 +83,7 @@ quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeP
|
||||||
// index rule to make sure that deep links directly deep into the app continue to work.
|
// index rule to make sure that deep links directly deep into the app continue to work.
|
||||||
// WARNING WARNING WARNING
|
// WARNING WARNING WARNING
|
||||||
|
|
||||||
var layoutProfile = 'old-layout';
|
var layoutProfile = 'layout';
|
||||||
|
|
||||||
// Check for the cookie for turning on the new layout.
|
|
||||||
if (document.cookie.toString().indexOf('quay.exp-new-layout=true') >= 0) {
|
|
||||||
layoutProfile = 'layout';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for the override flag.
|
// Check for the override flag.
|
||||||
if (window.location.search.indexOf('old-ui=1') >= 0) {
|
if (window.location.search.indexOf('old-ui=1') >= 0) {
|
||||||
|
|
Reference in a new issue