Open Link CTAs in the Same Window

October 6, 2015 Uberflip Customer Success
function removeOpenInNewWindow() {
   $('.cta-button').each(function()  {
       $(this).attr('target', '_self');
   });
}
Hubs.onLoad = Hubs.onPageChange = function() {
   removeOpenInNewWindow();
};
Previous Article
Integrate SumoMe With Your Hub
Integrate SumoMe With Your Hub

Next Article
Remove Your Logo on an Embedded Hub
Remove Your Logo on an Embedded Hub

Some optional code to improve the styling is included -- feel free to update!