Skip to content

Unable to access plugin.settings.currentPage in some parts of code and is stated as undefined #6

@hariprasad26091993

Description

@hariprasad26091993

In the plug-in lib plugin.settings.currentPage is shown as undefiined element if i try to access it in some part of the code/lib why is this.?
Ex:
htmlNav += '<a href="#'+plugin.settings.hashPage+':'+i+'" title="Page '+i+'" rel="'+i+'" class="page">'+i+'</a><span title="">...'+plugin.settings.currentPage+'...</span><a href="#'+plugin.settings.hashPage+':'+plugin.settings.pages+'" title="Page '+plugin.settings.pages+'" rel="'+plugin.settings.pages+'" class="page">'+plugin.settings.pages+'</a>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions