diff --git a/doc/doxygen/src/js/riot-doxy.js b/doc/doxygen/src/js/riot-doxy.js index fb218a2ee7..4fb4ff16a8 100644 --- a/doc/doxygen/src/js/riot-doxy.js +++ b/doc/doxygen/src/js/riot-doxy.js @@ -46,6 +46,8 @@ function resize_content(sidenav) function resize_handler() { + if ($(window).width() == window_before) {return;} + var sidenav = $("#side-nav"); if ($(window).width() < 750) { var toc = $(".toc");