Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body onload="load(); curvycurvy()" onunload="GUnload()">
- /* This replaces "<body onload="load(); curvycurvy()" */
- $(document).on('load', function(){
- load();
- curvycurvy();
- });
- /* This replaces onunload="GUnload()"> */
- $(window).unload(function() {
- GUnload();
- });
- Drupal.behaviors.initCurvy = {
- attach: function (context, settings) {
- curvycurvy();
- }
- };
Add Comment
Please, Sign In to add comment