Alex cueto Alex cueto - 1 year ago 153
Javascript Question

Bootstrap Javascript dont Work in Firefox and Safari IOS

I'm working on an app which you can see here:

When I use Firefox or Safari for iPhone, it does not work correctly. I'm using Google Polymer 1.0, Bootstrap 3, Skeleton and of course jQuery.

This is the error I receive in Firefox

Answer Source

Yeah, I've fixed it, but not quite...

I fixed with this code:

        url: '/lib/bootstrap/dist/js/bootstrap.js',
        success: function (data) {
            (new Function('document', 'window', data))
                .call({}, wrap(document), wrap(window));
        dataType: 'text'

in this isue at Github:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download