the safari fix messed it up in chrome
This commit is contained in:
parent
8093f6d9b6
commit
bb2837fe2b
|
@ -2895,7 +2895,10 @@ $('body').on('keyup paste input', 'div.queet-box-syntax', function() {
|
|||
}
|
||||
});
|
||||
|
||||
currentVal = currentVal.replace(/ <span/g,' <span'); // safari fix
|
||||
// safari fix
|
||||
if(typeof bowser.safari != 'undefined') {
|
||||
currentVal = currentVal.replace(/ <span/g,' <span');
|
||||
}
|
||||
|
||||
$(this).siblings('.syntax-middle').html(currentVal);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user