@DaveSauce can you look at the console and fix this issue with this code?
'click #navbar-logo': function () {
// expands the main dialog box to 80% of full screen
$.Velocity.hook($('#communication-main'), "width", "0");
$.Velocity.hook($('#communication-message-board'), "width", "0");
$.Velocity.hook($('#communication-task-board'), "width", "0");
$.Velocity.hook($('#communication-library-board'), "width", "0");
// un-lock scroll position
var body = $('body');
var scrollPosition = body.data('scroll-position');
body.css('overflow', body.data('previous-overflow'));
window.scrollTo(scrollPosition[0], scrollPosition[1]);
}
it looks like scrollPosition is not defined in the body at some point?
@DaveSauce can you look at the console and fix this issue with this code?
it looks like scrollPosition is not defined in the body at some point?