Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r21538: LJSUP-11625: Disable lj-pics-beta banner...

Committer: vkurkin
LJSUP-11625: Disable lj-pics-beta banner for IE
U   trunk/htdocs/js/ck/plugins/image/dialogs/image.js
Modified: trunk/htdocs/js/ck/plugins/image/dialogs/image.js
===================================================================
--- trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-26 07:39:22 UTC (rev 21537)
+++ trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-26 07:46:42 UTC (rev 21538)
@@ -464,14 +464,15 @@
 						[
 							{
 								type: 'html',
-								html: Site.pics_production ? '' : '<div class="b-pics-promo-wrapper">' +
+								html: (CKEDITOR.env.ie && CKEDITOR.env.version <= 9) || Site.pics_production ? '' : '' +
+									'<div class="b-pics-promo-wrapper">' +
 										'<i class="b-pics-promo-box"></i>' +
 										'<a target="_blank" href="http://lj-pics-beta.livejournal.com/472.html" class="b-pics-promo-link">' +
 											'<span class="b-pics-promo-arrow"></span>' +
 											'<span class="b-pics-promo-content b-pics-promo-content-header">' + Site.ml_text['/update.bml.msg.newalbums'] + '</span>' +
 											'<span class="b-pics-promo-content">' + Site.ml_text['/update.bml.msg.newalbums.organise'] + '</span>' +
 										'</a>' +
-										'</div>'
+									'</div>'
 							},
 							{
 								type : 'vbox',

Tags: b_vladi, js, livejournal, vkurkin
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments