waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
358 stars 88 forks source link

New Menu Bar Branch: Uncaught TypeError #1285

Closed dethe closed 8 years ago

dethe commented 8 years ago

In branch https://github.com/waterbearlang/waterbear/pull/1240 there is an exception being thrown that we need to track down:

Uncaught TypeError: Cannot read property 'querySelectorAll' of nullfindAll

dethe commented 8 years ago

@kotarCreative This seems to be happening because the <wb-workspace> in your branch does not have a <header> element, and the code in question expects it to. To fix, either make sure there is a header in wb-workspace, or find another way to stop the code from walking the tree to wb-workspace.

kotarCreative commented 8 years ago

Adding in an empty header seems to work. Not the cleanest but its a hack that works for now.

dethe commented 8 years ago

:+1:

dethe commented 8 years ago

@kotarCreative Shall I close this issue then?