Commit 3f8ba241 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make Docs.App.getBaseUrl ignore index.html.

parent c309653f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,6 +8,6 @@ Ext.define("Docs.App", {
     * @return {String} URL
     */
    getBaseUrl: function() {
        return document.location.href.replace(/#.*/, "");
        return document.location.href.replace(/#.*/, "").replace(/index.html/, "");
    }
});