Skip to content

Pass sidebar link to main in postHook, rm AutosuggestSitelinkDebug flag

MusikAnimal requested to merge dev-errors into main

This prevents a product error of calling .css() on null. The same error would happen on page load if window.AutosuggestSitelinkDebug is set in the user's JS, which happened to be most of the developers. This debug mode isn't needed anymore, since we have a toolbar link to launch the dialog.

Edited by MusikAnimal

Merge request reports