Remove cookie check for the new layout

This commit is contained in:
Joseph Schorr 2015-05-03 18:36:06 -07:00
parent df2883bfb6
commit e81acf7a71

View file

@ -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.
// WARNING WARNING WARNING
var layoutProfile = 'old-layout';
// Check for the cookie for turning on the new layout.
if (document.cookie.toString().indexOf('quay.exp-new-layout=true') >= 0) {
layoutProfile = 'layout';
}
var layoutProfile = 'layout';
// Check for the override flag.
if (window.location.search.indexOf('old-ui=1') >= 0) {