Now the help link on the top bar leads to #
, like this:
<a title="Help Center and other resources" class="icon-help js-help-button" href="#">
help
<span class="triangle"></span>
</a>
Please link it to help, like this:
<a title="Help Center and other resources" class="icon-help js-help-button" href="/help">
help
<span class="triangle"></span>
</a>
That way if I will need to open help center to provide some references, I will be able to just middle-click it and have help center in new tab. Now clicking help while writing custom close reason can close the dialog for me, destroying what I wrote, and that's not a good thing...
It will not interfere with current functionality, as far as I have tested it. It seems existing code already cancels default browser action anyway.
On normal click it does popup the box all right, even with href="/help"
. What I'm asking for does not interfere with current workflow. On the other hand, middle click now duplicates open page in another tab. That's counter-intuitive. Middle click on help should open the help, not the page I'm already on. If it will open the help menu box, so be it, not what I want but makes sense. The way it is now does not. And of course it would provide a bit of graceful degradation to a top bar, for the rare cases of JavaScript failure.
href="/help"
. What I'm asking for does not interfere with current workflow. On the other hand, middle click now duplicates open page in another tab. That's counter-intuitive. Middle click on help should open the help, not the page I'm already on. If it will open the help menu box, so be it, not what I want but makes sense. The way it is now does not make much sense.href="..."
for this. The existing code that open the menu can identify a middle click and redirect in such a case, while opening the menu in case of ordinary click. +1.href
was simplest way I was able to think of, and provides a tiny bit of graceful degradation, but if existing code will take care, I don't mind.href="#"
tohref="/help"
using Chrome dev tools and it just kept opening the menu. Anyway, we don't have to write the code, the dev team might end up with a different way anyway. :)href
to"/help"
, middle-clicked, and it worked.href="#"
is a bit of an overkill, as script already cancels any use of it. Do you think I should expand my request?..