Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

admin_bar_iframe #568

Open
Joe028 opened this issue Aug 27, 2016 · 1 comment
Open

admin_bar_iframe #568

Joe028 opened this issue Aug 27, 2016 · 1 comment

Comments

@Joe028
Copy link

Joe028 commented Aug 27, 2016

Many apps look for the admin_bar_iframe in order to determine if the shop owner is logged in or not. It appears that this framework removes this frame by adding in something in it's place. I see this occur in assets/timber.js.liquid

line 281:
var $iframeReset = $iframeVideo.add('iframe#admin_bar_iframe');

Could a solution be implemented so that the admin_bar_iframe is not removed?

@3stacks
Copy link

3stacks commented Sep 15, 2016

It seems to me that there should be a isUserLoggedIn method on the Shopify class so that people can check if admin is logged in without having to rely on a pretty hacky method. Probably an issue for the core Shopify repo imo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants