mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-07 13:52:12 +00:00
Fixed: mobile iframe link for Amazon banners was generating the desktop link.
This commit is contained in:
parent
ffbd69688e
commit
31a59a454d
@ -1,7 +1,7 @@
|
||||
{{#if checkTrustLevels}}
|
||||
{{#if site.mobileView}}
|
||||
<div class="amazon-product-links-label" style={{adTitleStyleMobile}}><h2>ADVERTISEMENT</h2></div>
|
||||
<iframe style={{adWrapperStyleMobile}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInput}}>
|
||||
<iframe style={{adWrapperStyleMobile}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{user_input_mobile}}>
|
||||
</iframe>
|
||||
{{else}}
|
||||
<div class="amazon-product-links-label"><h2>ADVERTISEMENT</h2></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user