Permalink
Browse files

MINOR Fixed link form prepopulation of selected text in CMS

  • Loading branch information...
1 parent 53506f3 commit 1f3b0d2684fc83d853846588d658998dafac4741 @chillu chillu committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 1f3b0d2

Please sign in to comment.