Movatterモバイル変換


[0]ホーム

URL:


Trac Hacks

Context Navigation


Changeset 16945


Ignore:
Timestamp:
Nov 1, 2017, 11:40:38 AM (7 years ago)
Author:
matobaa
Message:

TracLinksPlugin: fixes#12760 "undefined"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • traclinksplugin/0.12/traclinks/htdocs/js/anchoranywhere.js

    r15658 r16945 
    11/*
    2  * Copyright (C) 2013,2016 MATOBA Akihiro <matobaa+trac-hacks@gmail.com>
     2 * Copyright (C) 2013,2016-2017 MATOBA Akihiro <matobaa+trac-hacks@gmail.com>
    33 * All rights reserved.
    44 *
     
    4040      context = $(this).parents('div.change');
    4141      index = 1 + $("p,li", context).index(this);
    42       name =$('.cnum', context).attr('id') + ";" + index;
     42      name =($('.cnum', context).attr('id') || $('.change', context).attr('id')) + ";" + index;
    4343      addAnchor(this, name);
    4444    });
Note: SeeTracChangeset for help on using the changeset viewer.

Download in other formats:


Trac Powered

Powered byTrac 1.2.6
ByEdgewall Software.


[8]ページ先頭

©2009-2025 Movatter.jp