my Polymer website does not work on firefox

geecko

The page is at http://5heurescod.tk. Please inspect the source to see what I could have done wrong.

It works well on Chrome but not on firefox.. Did I forget to import something?

(edit: when I say it doesn't work, I mean that the menu on the left is not clickable and the javascript function getCard(); which should be called at start is not called.)

I used

bower install --save Polymer/polymer
bower install --save Polymer/core-elements
bower install --save Polymer/paper-elements

Any idea? Thanks!

DocDude

At a glance, I'd say:

  • make sure the web components polyfill (webcomponents.js, formerly platform.js) is loaded first, certainly before any HTML imports, since this includes the polyfill for HTML imports.

  • wait for the polymer-ready event before manipulating any of the DOM or setting CoreStyle properties. You might be able to get away with this on Chrome, because native HTML imports work a little differently -- but definitely not on Firefox or any browser without native HTML imports.

    See: https://www.polymer-project.org/0.5/docs/polymer/polymer.html#polymer-ready

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Js does not work as expected on my website even it works on codepen

From Dev

Does Polymer work in PHP files?

From Dev

Does Polymer work in PHP files?

From Dev

Why does my php login script work in Chrome, but not in FireFox or Edge?

From Dev

Polymer core-icons does not render in FireFox

From Dev

transitionEnd does not work in firefox

From Dev

Jquery doesnt work in my website

From Dev

How does data-binding in Polymer work?

From Dev

Databinding of polymer paper_input does not work

From Dev

Why does this CodeLab Example in Polymer not work?

From Dev

How does HTTP POST work in Polymer?

From Dev

Databinding of polymer paper_input does not work

From Dev

Pseudo elements on Polymer custom element does not work

From Dev

href to another element does not work in Polymer

From Dev

Does jQuery work well with Polymer 2?

From Dev

Display Grid does not work in Polymer correctly

From Dev

My Polymer Website Fails to provide any Structured Data

From Dev

The header of my website behaving differently on Chrome and Firefox?

From Dev

The header of my website behaving differently on Chrome and Firefox?

From Dev

Why does CSS3 animation not work in my ASP.net website

From Dev

I am trying to put this glitched image in my website, I put the CSS code and HTML in but it still does not work

From Dev

ReCaptcha doesn't work when used with Polymer in Firefox and IE

From Dev

Flexslider Does Not Work in Firefox or Safari

From Dev

Why does this Javascript not work in Firefox?

From Dev

Date RegularExpression does NOT work on FireFox

From Dev

File download does not work on firefox

From Dev

My click Does not work

From Dev

My Intent does not work

From Dev

My xdiagnose does not work?

Related Related

HotTag

Archive