If selecting text, don't link to order on row click.
This commit is contained in:
parent
6af5bc3d19
commit
20a7cc392b
|
@ -22,6 +22,10 @@ jQuery( function( $ ) {
|
|||
return true;
|
||||
}
|
||||
|
||||
if ( window.getSelection && window.getSelection().toString().length ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
var $row = $( this ).closest( 'tr' ),
|
||||
href = $row.find( 'a.order-view' ).attr( 'href' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue