[Solved] Javascript “— is Not Defined” Error


Make sure the call:

$(window).on("resize", resizePortfolio);

is inside the $(document).ready(function() {...}) body, because the scope of the function name is just that function.

solved Javascript “— is Not Defined” Error