anyone tried out plugin: nodebb-plugin-profile-extends
-
@miluo Doesn't work for me either. I see this error in the browser console.
Uncaught Error: Mismatched anonymous define() module: function (){var t={};t.init=function(t,e){e=e||function(){};var i=t.hasClass("fa-2x"),n=t.attr("class").replace("fa-2x","").replace("fa","").replace(/\s+/g,"");$("#icons .selected").removeClass("selected");if(n===""){n="fa-doesnt-exist"}if(n){$("#icons .fa-icons .fa."+n).parent().addClass("selected")}bootbox.confirm("<h2>Select an icon.</h2>"+$("#icons").html(),function(n){if(n){var r=$(".bootbox .selected").attr("class");var o=$("<div/>").addClass(r).removeClass("fa").removeClass("selected").attr("class");if(o==="fa-doesnt-exist"){o=""}t.attr("class","fa "+(i?"fa-2x ":"")+o);t.val(o);t.attr("value",o);e(t)}});setTimeout(function(){$(".bootbox .fa-icons i").on("click",function(){$(".bootbox .selected").removeClass("selected");$(this).addClass("selected")})},500)};return t}
Copyright © 2024 NodeBB | Contributors