fix issue with chat page showing 304 in firefox

This commit is contained in:
Michael Q Larson
2015-03-07 01:37:41 -08:00
parent 19afeda949
commit 61435283d0
4 changed files with 3 additions and 16 deletions

View File

@@ -2,9 +2,9 @@ doctype html
html(ng-app='profileValidation', lang='en')
head
include partials/universal-head
!= css('main')
body.no-top-and-bottom-margins.full-screen-body-background
!= css('main')
include partials/css-cdns
include partials/navbar-wide
include partials/flash

View File

@@ -2,9 +2,8 @@ doctype html
html(ng-app='profileValidation', lang='en')
head
include partials/universal-head
body.top-and-bottom-margins
!= css('main')
body.top-and-bottom-margins
include partials/css-cdns
include partials/navbar-narrow
.container

View File

@@ -1,16 +1,4 @@
script.
var cb = function () {
var l = document.createElement('link');
l.rel = 'stylesheet';
l.href = 'main'
var h = document.getElementsByTagName('head')[0];
h.parentNode.insertBefore(l, h);
};
var raf = requestAnimationFrame || mozRequestAnimationFrame ||
webkitRequestAnimationFrame || msRequestAnimationFrame;
if (raf) raf(cb);
else window.addEventListener('load', cb);
var cb = function() {
var l = document.createElement('link');
l.rel = 'stylesheet';

View File

@@ -19,4 +19,4 @@ block content
li Keep the chat room open while you code so that you can meet friends and ask for help.
.col-xs-12
.embed-responsive.embed-responsive-16by9.gitter-imbed
iframe(src='http://www.gitter.im/freecodecamp/freecodecamp', frameborder='0', scrolling='no')
iframe(src='https://www.gitter.im/freecodecamp/freecodecamp', frameborder='0', scrolling='no')