Browse Source

Fixed reference error; added charset

pull/89/head
Matthew Holt 11 years ago
parent
commit
7d14f64cf1
  1. 1
      docs.html
  2. 1
      index.html
  3. 4
      resources/js/main.js

1
docs.html

@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
<html>
<head>
<title>Documentation - Papa Parse</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway:200,400,600,800|Arvo">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css">
<link rel="stylesheet" href="resources/css/unsemantic.css">

1
index.html

@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
<html>
<head>
<title>Papa Parse - Powerful CSV parser for Javascript</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway:200,400,600,800|Arvo">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css">
<link rel="stylesheet" href="resources/css/unsemantic.css">

4
resources/js/main.js

@ -40,7 +40,7 @@ $(function() @@ -40,7 +40,7 @@ $(function()
prepareDemo();
// Smooth in-page scrolling; thanks to css-tricks.com
$('body').on('click', 'a[href^=#]:not([href=#])', function()
$('body').on('click', 'a[href^=#]:not([href=#])', function(event)
{
var isDemoLink = $(this).hasClass('demo-insert');
@ -53,6 +53,7 @@ $(function() @@ -53,6 +53,7 @@ $(function()
|| location.hostname == this.hostname)
{
scrollTo(this.hash);
return suppress(event);
}
}).on('click', 'a[href=#]', function(event) {
$('html, body').animate({
@ -71,7 +72,6 @@ $(function() @@ -71,7 +72,6 @@ $(function()
$('html, body').animate({
scrollTop: target.offset().top - 40
}, scrollDuration);
return suppress(event);
}
}

Loading…
Cancel
Save