JSHint for [36602].
See #33301. git-svn-id: https://develop.svn.wordpress.org/trunk@36605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6e493b1713
commit
0659293ee2
@ -74,8 +74,8 @@
|
|||||||
var $ = window.jQuery;
|
var $ = window.jQuery;
|
||||||
|
|
||||||
function getSelectedLink() {
|
function getSelectedLink() {
|
||||||
var href, html
|
var href, html,
|
||||||
node = editor.selection.getNode();
|
node = editor.selection.getNode(),
|
||||||
link = editor.dom.getParent( node, 'a[href]' );
|
link = editor.dom.getParent( node, 'a[href]' );
|
||||||
|
|
||||||
if ( ! link ) {
|
if ( ! link ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user