View.js in editmode

Permalink
I'd like to stop view.js from loading in editmode.
i was thinking about renaming the js to something else then loading it with on_page_view {
if (!editmode){
load js;
}
}

dazoe
 
Mnkras replied on at Permalink Reply
Mnkras
the view.js is supposed to load in editmode,

but renaming it and loading it on page view will work
dazoe replied on at Permalink Reply
dazoe
I thought auto.js was supposed to load in edit mode and view.js loads all the time. i need to stop view.js from loading in editmode because it causes some problems. How do i load js from the blocks dir?