Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
adapt observer to MM 1.3 layout (fixes #59)
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Dec 31, 2015
1 parent ce0d5ca commit 79aafb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/mattermost-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.addEventListener("DOMContentLoaded", function() {
// observe the DOM for mutations, specifically the .ps-container
// which contains all the sidebar channels
var MutationObserver = window.MutationObserver;
var list = document.querySelector('.ps-container');
var list = document.querySelector('.sidebar--left');

var observer = new MutationObserver(function(mutations) {
if (mutations.length) {
Expand Down

0 comments on commit 79aafb5

Please sign in to comment.