Feature tour navigation not working due to broken inline JavaScript
Bug #1860617 reported by
Benjamin Geese
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubuntu Website |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
On the Feature Tour Site [1], the navigation using the icons is not working. This is probably caused by a html tag inside the JavaScript. See Line 214 of the source:
```
<p><script type="text/
(function ($) {<br />
$( document ).ready(function() {<br />
var topDistance = $('#header'
var animateTimer = 800; // Miliseconds<br />
$('.feature_
$this = $(this);<br />
var section = $this.data(
section = $('.'+section);<br />
var top = section.
$('body,
})<br />
});<br />
}(jQuery));<br />
```
To post a comment you must log in.
Are you talking about this line?:
$('body, html'). animate( {scrollTop: top-topDistance}, animateTimer);<br />
TBH I'm not quite sure how it could be fixed due to some oddness in WordPress.