Skip to content

Commit

Permalink
Fixed issue #07076: Missing translation and wrong truncating
Browse files Browse the repository at this point in the history
Dev New selector for IE7 hack
  • Loading branch information
tpartner committed Dec 22, 2012
1 parent be3dacf commit 97f0bce
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@
editor.config.LimeReplacementFieldsSID + '/gid/' +
editor.config.LimeReplacementFieldsGID + '/qid/' +
editor.config.LimeReplacementFieldsQID
),
),
setup : function( element )
{
if ( isEdit )
Expand All @@ -56,7 +56,7 @@

this.setupContent( this._element );

if($('#cquestions option:first').width() == 0) { // IE7 hack
if($('#cquestions').parent().width() == 0) { // IE7 hack
var maxW = 0;
$('#cquestions option').wrapInner('<span />').each(function(i){
if($('span', this).outerWidth() > maxW){
Expand Down

0 comments on commit 97f0bce

Please sign in to comment.