From c0f94eb121521eeb4e036c84cf706944d06f21a9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 16 Dec 2016 19:39:09 +0000 Subject: [PATCH] fix linting --- project/blog/models.py | 3 +-- static/src/js/app.js | 2 +- static/src/js/creative/index.js | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/project/blog/models.py b/project/blog/models.py index 8537df9..b3c34d4 100644 --- a/project/blog/models.py +++ b/project/blog/models.py @@ -1,7 +1,6 @@ -from django.db import models from project.common.blocks import build_stream_field from wagtail.wagtailcore.models import Page -from wagtail.wagtailadmin.edit_handlers import FieldPanel, StreamFieldPanel +from wagtail.wagtailadmin.edit_handlers import StreamFieldPanel from wagtail.wagtailsearch import index from project.common.models import Entity diff --git a/static/src/js/app.js b/static/src/js/app.js index fd70645..064545e 100644 --- a/static/src/js/app.js +++ b/static/src/js/app.js @@ -1,6 +1,6 @@ import './creative'; import ansi_up from 'ansi_up'; -import { SCROLL_SPEED } from './consts'; +import { SCROLL_SPEED, NAVBAR_HEIGHT } from './consts'; $('.image').each(function () { // setup div-image hybrids const ele = $(this); diff --git a/static/src/js/creative/index.js b/static/src/js/creative/index.js index c956c43..b382a0c 100644 --- a/static/src/js/creative/index.js +++ b/static/src/js/creative/index.js @@ -10,8 +10,6 @@ new WOW().init(); * (Edited for theorangeone.net) */ - - $('a.page-scroll').bind('click', function(event) { const anchor = $(this); $('html, body').stop().animate(