Changeset 32802
- Timestamp:
- 06/16/2015 08:19:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wplink.js
r32705 r32802 267 267 }, 268 268 269 buildHtml: function(attrs) { 270 var html = '<a href="' + attrs.href + '"'; 271 272 if ( attrs.target ) { 273 html += ' target="' + attrs.target + '"'; 274 } 275 276 return html + '>'; 277 }, 278 269 279 update: function() { 270 280 if ( wpLink.isMCE() ) { … … 291 301 } 292 302 293 // Build HTML 294 html = '<a href="' + attrs.href + '"'; 295 296 if ( attrs.target ) { 297 html += ' target="' + attrs.target + '"'; 298 } 299 300 html += '>'; 303 html = wpLink.buildHtml(attrs); 301 304 302 305 // Insert HTML
Note: See TracChangeset
for help on using the changeset viewer.