diff --git a/javascript/tiny_mce_improvements.js b/javascript/tiny_mce_improvements.js index cb0fd955c..4dbfe97e7 100644 --- a/javascript/tiny_mce_improvements.js +++ b/javascript/tiny_mce_improvements.js @@ -146,7 +146,7 @@ LinkForm.prototype = { var htmlTagPattern = /<\S[^><]*>/g; if(ed == null) ed = tinyMCE.activeEditor; - if(this.style.display == 'block') { + if(jQuery(this).is(':visible')) { var i,data = this.getCurrentLink(ed); if(data) {