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(