Commit 92a2524f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix opening links in new window with middle-click.

A hash (#) was missing at the beginning of URL, so double-clicking
or ctrl-clicking a link was opening a 404-page.
parent 0d3baa2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ Ext.define('Docs.controller.Classes', {
        url = url.replace(/.*#/, "");

        if (this.opensNewWindow(event)) {
            window.open(url);
            window.open("#"+url);
            view && view.selectUrl(this.activeUrl ? this.activeUrl : "");
        }
        else {