Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical error preventing the plugin to work properly #3

Open
xavierlefevre opened this issue Apr 20, 2017 · 2 comments
Open

Critical error preventing the plugin to work properly #3

xavierlefevre opened this issue Apr 20, 2017 · 2 comments

Comments

@xavierlefevre
Copy link

  1. When I land on my board with Scrummer, the points are well displayed
  2. If I navigate in Trello and come back in my board, the plugin does not display anymore and I get this in the console :

screen shot 2017-04-20 at 18 29 57

I also use Stylish, Quick-Notifier for Trello and Trellists

@foucdeg
Copy link

foucdeg commented Apr 20, 2017

@xavierlefevre

var boardHeader = document.querySelector('.js-board-header');

boardHeader is null so we cannot call boardHeader.querySelector() later.
This means that for some reason, you don't have a div with class .js-board-header. Still investigating.

@foucdeg foucdeg reopened this Apr 20, 2017
@foucdeg
Copy link

foucdeg commented Apr 20, 2017

I surrounded the code in an if block. That should prevent the console error, however it might prevent the board total from showing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants