diff options
author | Chris Lawrence | 2013-09-15 20:19:47 -0400 |
---|---|---|
committer | Chris Lawrence | 2013-09-15 20:19:47 -0400 |
commit | 55f220109c4f3e7c870ebfafa6533415d5e76111 (patch) | |
tree | d587896348e7f5d0d30752e5cb72da89d049dfec /plugin/remotes | |
parent | d8fb09fb64aa238a2fecafadb3839b8491f919b5 (diff) | |
parent | 9cf7de54b8fb6bdad1342d087adfeea94604a674 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugin/remotes')
-rw-r--r-- | plugin/remotes/remotes.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/remotes/remotes.js b/plugin/remotes/remotes.js index 694e9c0..294c2b5 100644 --- a/plugin/remotes/remotes.js +++ b/plugin/remotes/remotes.js @@ -17,11 +17,11 @@ * Detects if notes are enable and the current page is opened inside an /iframe * this prevents loading Remotes.io several times */ - var remotesAndIsNotes = (function(){ - return !(window.RevealNotes && self == top); + var isNotesAndIframe = (function(){ + return window.RevealNotes && !(self == top); })(); - if(!hasTouch && !remotesAndIsNotes){ + if(!hasTouch && !isNotesAndIframe){ head.ready( 'remotes.ne.min.js', function() { new Remotes("preview") .on("swipe-left", function(e){ Reveal.right(); }) |