Closed (fixed)
Project:
Omega
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2016 at 12:56 UTC
Updated:
24 Aug 2016 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
federicoc commentedSeeing this on a fresh install of Omega on Drupal 8.1.
Any ideas?
Comment #3
ytsurkgot the same error, as soon as i disable screenDemo ...
Comment #4
ytsurksorry - the last patch did not work ..
Comment #5
ytsurkhmm -- next ;)
Comment #6
ytsurkSo - if the screen demo block is disabled, omega.js produces errors.
Comment #7
himerus commentedComment #9
himerus commentedThis is fixed in latest dev commit.
Indeed the thought did need to change. The logic in omega.theme needed to occur regardless of if screenDemo was turned on or not. This allows there to be flags during responsive breakpoint changes that can be acted upon by other javascript. So the drupalSettings.omega.currentBreakpoints is always available.
It was the way it was since the only usage of it initially was the demo indicator.
Latest of 8.x-5.x-dev should solve this issue.