X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost%2Fjs%2Ftheme.js;h=b0d6f493131c4545dc913feb4b84ec259805c93d;hb=53e5592f9a2d55434263f59a91c80fb46242307a;hp=ec00dcfdff81892f084285c34529c2a78e96475f;hpb=0e95b6b52777d1ffd7852f64dfb7abc30e841cb2;p=friendica.git diff --git a/view/theme/frost/js/theme.js b/view/theme/frost/js/theme.js index ec00dcfdff..b0d6f49313 100644 --- a/view/theme/frost/js/theme.js +++ b/view/theme/frost/js/theme.js @@ -29,10 +29,10 @@ $j(document).ready(function() { $j("#profile-jot-text").click(enableOnUser); - $j('.nav-menu-link').hover(function() { - showNavMenu($j(this).attr('rel')); + $j('.nav-menu-list, .nav-menu-icon').hover(function() { + showNavMenu($j(this).attr('point')); }, function() { - hideNavMenu($j(this).attr('rel')); + hideNavMenu($j(this).attr('point')); }); /* $j('html').click(function() { $j("#nav-notifications-menu" ).hide(); });*/ @@ -305,6 +305,13 @@ $j(function(){ }); +function homeRedirect() { + $j('html').fadeOut('slow', function(){ + window.location = baseurl + "/login"; + }); +} + + if(typeof window.photoEdit != 'undefined') { $j(document).keydown(function(event) { @@ -616,8 +623,8 @@ function initEditor(cb){ $j("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; $j("a#jot-perms-icon").fancybox({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' + 'transitionIn' : 'none', //'elastic', + 'transitionOut' : 'none' //'elastic' }); $j(".jothidden").show(); if (typeof cb!="undefined") cb(); @@ -640,9 +647,9 @@ function initEditor(cb){ entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', convert_urls: false, content_css: window.baseURL + "/view/custom_tinymce.css", theme_advanced_path : false, @@ -735,9 +742,9 @@ function msgInitEditor() { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', convert_urls: false, content_css: baseurl + "/view/custom_tinymce.css", //Character count @@ -776,9 +783,9 @@ function profInitEditor() { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', content_css: baseurl + "/view/custom_tinymce.css", theme_advanced_path : false, setup : function(ed) { @@ -806,9 +813,9 @@ function eventInitEditor() { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', content_css: baseurl + "/view/custom_tinymce.css", theme_advanced_path : false, setup : function(ed) { @@ -836,9 +843,9 @@ function contactInitEditor () { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', content_css: baseurl + "/view/custom_tinymce.css" @@ -865,9 +872,9 @@ function wallInitEditor() { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', convert_urls: false, content_css: baseurl + "/view/custom_tinymce.css", //Character count