← Back to team overview

kubuntu-council team mailing list archive

[Bug 1860617] [NEW] Feature tour navigation not working due to broken inline JavaScript

 

Public bug reported:

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/javascript"><br />
(function ($) {<br />
$( document ).ready(function() {<br />
 var topDistance = $('#header').height() - 32;<br />
 var animateTimer = 800; // Miliseconds<br />
 $('.feature_tour_nav_element').click(function(){<br />
 $this = $(this);<br />
 var section = $this.data('section');<br />
 section = $('.'+section);<br />
 var top = section.offset().top;<br />
 $('body,html').animate({scrollTop: top-topDistance}, animateTimer);<br />
 })<br />
});<br />
}(jQuery));<br />
```

1: https://kubuntu.org/feature-tour/

** Affects: kubuntu-website
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
website administrators, which is subscribed to Kubuntu Website.
https://bugs.launchpad.net/bugs/1860617

Title:
  Feature tour navigation not working due to broken inline JavaScript

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-website/+bug/1860617/+subscriptions


Follow ups