Skip to content

unrecognized expression: [data-toggle=collapse][href=#bs-tab-tabs-1] #14

@ickbinhier

Description

@ickbinhier

Hello,

i have a error at this point

https://github.com/thecodeassassin/bootstrap-remote-data/blob/master/js/bootstrap-remote-tabs.js#L44

    var hasAccordion = $('[data-toggle=collapse][href=' + hash + ']');
    if (hasAccordion) {
        // for some reason we cannot execute the 'show' event for an accordion properly, so here's a workaround
        if (hasAccordion[0] != $('[data-toggle=collapse]:first')[0]) {
            hasAccordion.click();
        }
    }

If i this comment out this block is all fine.

The error is

Syntax error, unrecognized expression: [data-toggle=collapse][href=#bs-tab-tabs-1]

at this point in jquery.js

Sizzle.error = function( msg ) {
throw new Error( "Syntax error, unrecognized expression: " + msg );
};

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