Jquery mobile - data-role=“none” not working sometimes

后端 未结 1 1585
谎友^
谎友^ 2021-01-16 15:02

I have a really strange behavior on my app. I have a navigation for the page divs. On the first page I have the rateit plugin active. If I reload the first page with the #on

相关标签:
1条回答
  • 2021-01-16 15:32

    Ok this is just nuts and crazy, I am sure I tried this already before, but now its working.

    The data-role="none" is not working because the div is not a JQM widget, thus not applied.

    The div needs data-enhance="false" to be not styled!
    I learned this on the jQuery forum. No idea why I did it not get to work earlier...

    0 讨论(0)
提交回复
热议问题