Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r17386: LJSUP-6832: js toogle fix

Committer: szhirkov
LJSUP-6832: js toogle fix
U   trunk/htdocs/js/talkpost.js
Modified: trunk/htdocs/js/talkpost.js
===================================================================
--- trunk/htdocs/js/talkpost.js	2010-09-16 06:00:02 UTC (rev 17385)
+++ trunk/htdocs/js/talkpost.js	2010-09-16 06:05:06 UTC (rev 17386)
@@ -1,4 +1,3 @@
-
 var usernameWasFocused = 0;
 
 if (document.getElementById) {
@@ -277,15 +276,11 @@
 }
 
 function hideMe(e) {
-   //e.className = 'display_none';
-   
-   jQuery(e).addClass('display_none');
+   jQuery(e).hide();
 }
 
 function showMe(e) {
-   //e.className = '';
-   
-   jQuery(e).removeClass('display_none');
+   jQuery(e).show();
 }
 
 function toggleTextHighlight(e, show) {

Tags: aralot, js, livejournal
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