Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Beaver Builder doesn't allow setting the target for a link through ACF. Add a class 'external' to the module to make all
- // links target to a new tab
- (function($) {
- $(document).ready( function() {
- $('.external').find( 'a' ).attr( 'target' , '_blank');
- });
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement