Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
risq committed Jan 31, 2014
1 parent 07f9edc commit 07fb39d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions css/newsticker.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body {
color: #444;
font-size: 1.2em;
font-weight: 300;
background-color: #f5dcd1;
background-color: #fefefe;
}

a {
Expand All @@ -33,7 +33,7 @@ a:active {


/*
MULTILINES
MULTILINES EXAMPLE CSS
*/

#multilines .controls {
Expand Down Expand Up @@ -97,7 +97,7 @@ a:active {


/*
ONELINER
ONELINER EXAMPLE CSS
*/

#oneliner {
Expand Down
1 change: 1 addition & 0 deletions index.html → demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="css/newsTicker.css">
</head>
<body>
<h1>JQuery Advanced News Ticker</h1>
<div id="oneliner">
<div class="header">
Breaking News
Expand Down
2 changes: 1 addition & 1 deletion js/newsTicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
this.state = 0;
this.paused = 0;
this.moving = 0;
if (this.$el.is('ul')) {
if (this.$el.is('ul') || this.$el.is('ol')) {
this.init();
}
}
Expand Down

0 comments on commit 07fb39d

Please sign in to comment.