modular-admin-html icon indicating copy to clipboard operation
modular-admin-html copied to clipboard

Sometimes charts are not redrawn on theme change

Open modularcoder opened this issue 9 years ago • 2 comments

Sometimes charts are not redrawn on theme change.

Remove Watch.JS and use event, triggered on theme change. Redraw charts on event

$(document).trigger("themechange");

$(document).on("themechange", function(){
  // redraw...
});

modularcoder avatar Jan 11 '16 21:01 modularcoder

Done on develoop branch https://github.com/modularcode/modular-admin-html/commit/4bac608790d22052affe63494c54edb53b0760cd

AramManukyan avatar Jan 11 '16 21:01 AramManukyan

@madextreme Review please https://github.com/modularcode/modular-admin-html/commit/27cfbdb0c2aab5b01d0e96b725f7135c7ad93e33

AramManukyan avatar Jan 12 '16 13:01 AramManukyan