Skip to content

Commit

Permalink
add Unibuddy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasnadel committed Jun 26, 2020
1 parent 3f79b4d commit 0e14fbb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/assets/javascripts/cascade/unibuddy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$(window).load(function () {
if ($('iframe#unibuddy-popcard-iframe').length >= 0) {

$("iframe#unibuddy-popcard-iframe").load(function () {
$('#unibuddy-popcard-iframe').detach().appendTo('nav#uninav')
});

}
});

0 comments on commit 0e14fbb

Please sign in to comment.