diff --git a/assets/js/src/block.js b/assets/js/src/block.js index 64eb4b30..e6fcaa1d 100644 --- a/assets/js/src/block.js +++ b/assets/js/src/block.js @@ -41,7 +41,11 @@ // Sanitize the IDs we need var sanitizeIds = function( id ) { - return id.replace( /\D/g, '' ); + if( 0 === id.indexOf( 'ref:' ) ) { + return id; + } else { + return id.replace( /\D/g, '' ); + } }; /**