Changeset 695 for trunk


Ignore:
Timestamp:
12/10/2011 09:16:51 AM (6 months ago)
Author:
ofer
Message:

Try to make sure lazyloader loads in the correct context

Location:
trunk/WordPress/plugin/transposh/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/js/lazy.js

    r666 r695  
    241241}; 
    242242 
    243 })(jQuery); 
     243})(t_jp.$); 
  • trunk/WordPress/plugin/transposh/js/transposh.js

    r694 r695  
    321321            callback(); 
    322322        } else { 
     323            t_jp.$ = $; 
    323324            $.getScript(t_jp.plugin_url + '/js/lazy.js', callback); 
    324325        }         
     
    346347    t_jp.tfju = test_for_jqueryui; 
    347348 
    348     $(document).ready( 
    349         function () { 
     349    $(function () { 
    350350            // set a global binglang (if needed) 
    351351            if (t_jp.msn) { 
Note: See TracChangeset for help on using the changeset viewer.