Commit 20cf27d6 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Merge branch 'fix/document_slider' into 'master'

Fix typo and slider

Closes #216 

See merge request !229
parents ba7b9d76 b837c4ba
$(function() {
function scrollSlider(slider, direction) {
var wrapper = slider.children('.policywrapper');
var wrapper = slider.children('.policy-wrapper');
var delta = direction * (slider.width() + 20); // +20 for margin
if (wrapper.scrollLeft() + delta <= 0) {
slider.children('.slider-control-prev').fadeOut(200);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment