Inhalte aufrufen

Profilbild

Error in mobile

Error

1 Antwort zu diesem Thema

#1 weisserhund

weisserhund

    Newbie

  • Members
  • 7 Beiträge

Geschrieben: 11 May 2016 - 17:59

www.redpepperexpress.com

 

On mobile devices I am getting this error

 

Uncaught Error: Syntax error, unrecognized expression: :nth-child

 

v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:554 Uncaught Error: Syntax error, unrecognized expression: :nth-child

 

 

 

 

v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:554 Uncaught Error: Syntax error, unrecognized expression: :nth-childfb.error @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:554fb.selectors.preFilter.CHILD @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:619fb.tokenize @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:862fb.compile @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1026fb.select @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1064fb @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:317$.find @ jquery.mobile-1.3.2.js:348$.find.matches @ jquery.mobile-1.3.2.js:354n.filter @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1126x @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1116n.fn.extend.filter @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1147(anonymous function) @ jquery.mobile-1.3.2.js:6109n.extend.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:152n.fn.n.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:49$.fn.grid @ jquery.mobile-1.3.2.js:6082$.widget._create @ jquery.mobile-1.3.2.js:6147(anonymous function) @ jquery.mobile-1.3.2.js:452$.Widget._createWidget @ jquery.mobile-1.3.2.js:612$.widget._createWidget @ jquery.mobile-1.3.2.js:889(anonymous function) @ jquery.mobile-1.3.2.js:452$.(anonymous function).(anonymous function) @ jquery.mobile-1.3.2.js:416(anonymous function) @ jquery.mobile-1.3.2.js:559n.extend.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:152n.fn.n.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:49$.fn.(anonymous function) @ jquery.mobile-1.3.2.js:554$.widget.enhance @ jquery.mobile-1.3.2.js:935(anonymous function) @ jquery.mobile-1.3.2.js:452$.widget.enhanceWithin @ jquery.mobile-1.3.2.js:914(anonymous function) @ jquery.mobile-1.3.2.js:452(anonymous function) @ jquery.mobile-1.3.2.js:6182n.event.dispatch @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1892n.event.add.r.handle @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1777n.event.trigger @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1864e.event.trigger @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:4318(anonymous function) @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:2130n.extend.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:152n.fn.n.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:49n.fn.extend.trigger @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:2129$.Widget._trigger @ jquery.mobile-1.3.2.js:835$.Widget._createWidget @ jquery.mobile-1.3.2.js:613$.widget._createWidget @ jquery.mobile-1.3.2.js:889(anonymous function) @ jquery.mobile-1.3.2.js:452$.(anonymous function).(anonymous function) @ jquery.mobile-1.3.2.js:416(anonymous function) @ jquery.mobile-1.3.2.js:559n.extend.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:152n.fn.n.each @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:49$.fn.(anonymous function) @ jquery.mobile-1.3.2.js:554enhancePage @ jquery.mobile-1.3.2.js:4093$.mobile.changePage @ jquery.mobile-1.3.2.js:4587$.extend.initializePage @ jquery.mobile-1.3.2.js:11158(anonymous function) @ jquery.mobile-1.3.2.js:11192n.Callbacks.j @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1313n.Callbacks.k.fireWith @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1371n.extend.ready @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1466I @ v2jrp5bxbkkv9_nz5tvyehju9beh2vzjkd3qabjjbrc1?v=hN6jM9dryCJ6O6Wqr-fqEuXxS4yN99mQeGaaY9DOQKw1:formatt…:1474



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3057 Beiträge

Geschrieben: 11 May 2016 - 19:24

Please, do the following steps to resolve the issue:
 

1. For safety, create a copy of file \Views\Common\InfoBlock.Mobile.cshtml

2. Open this file

3. Replace old code

<div data-role="navbar">
    <ul>
		@if (Model.TopicPageUrls.ContainsKey("imprint"))
		{
			<li><a href="@Model.TopicPageUrls["imprint"]" data-role="button">@T("Imprint")</a></li>
		}
		@if (Model.TopicPageUrls.ContainsKey("disclaimer"))
		{
			<li><a href="@Model.TopicPageUrls["disclaimer"]" data-role="button">@T("Disclaimer")</a></li>
		}
    </ul>
</div>

by new code

@if (Model.TopicPageUrls.ContainsKey("imprint") || Model.TopicPageUrls.ContainsKey("disclaimer"))
{
<div data-role="navbar">
    <ul>
		@if (Model.TopicPageUrls.ContainsKey("imprint"))
		{
			<li><a href="@Model.TopicPageUrls["imprint"]" data-role="button">@T("Imprint")</a></li>
		}
		@if (Model.TopicPageUrls.ContainsKey("disclaimer"))
		{
			<li><a href="@Model.TopicPageUrls["disclaimer"]" data-role="button">@T("Disclaimer")</a></li>
		}
    </ul>
</div>
}

 


Schöne Grüße aus Düsseldorf,
Marcus Gesing




Auf dieses Thema antworten



  

Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: Error