Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KIDx committed May 1, 2016
1 parent e5b3546 commit 931516a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ACdreamOnlineJudge",
"version": "2.0.0",
"version": "2.1.0",
"scripts": {
"start": "node app"
},
Expand All @@ -12,7 +12,7 @@
},
"license": "MIT",
"dependencies": {
"express": "4.x",
"express": "*",
"async": "*",
"q": "*",
"compression": "*",
Expand Down
2 changes: 1 addition & 1 deletion views/layout.jade
Expand Up @@ -45,7 +45,7 @@ html
a.navbar-brand(href="/" title="ACdream Online Judge")
img(alt="brand" src="/img/brand.jpg")
div.collapse.navbar-collapse#bs-navbar-collapse-1
if (marquees.length)
if (marquees && marquees.length)
marquee.navbar-text.user-green(style="width:50%" onmouseout="this.start()" onmouseover="this.stop()" scrollamount="2" scrolldelay="1" behavior="alternate")= marquees[Math.floor(Math.random()*marquees.length)]
ul.nav.navbar-nav.navbar-right
if (user)
Expand Down

0 comments on commit 931516a

Please sign in to comment.