- Timestamp:
- 12/14/2016 08:30:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wplink.js
r38808 r39601 303 303 wpLink.correctURL(); 304 304 305 var attrs = { 306 href: $.trim( inputs.url.val() ) 305 return { 306 href: $.trim( inputs.url.val() ), 307 target: inputs.openInNewTab.prop( 'checked' ) ? '_blank' : null 307 308 }; 308 309 if ( inputs.openInNewTab.prop( 'checked' ) ) {310 attrs.target = '_blank';311 }312 313 return attrs;314 309 }, 315 310
Note: See TracChangeset
for help on using the changeset viewer.