Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion fg.menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $.fn.menu = function(options){
else { m.kill(); };
return false;
});
return m.container;
};

function Menu(caller, options){
Expand All @@ -37,6 +38,7 @@ function Menu(caller, options){

this.menuOpen = false;
this.menuExists = false;
this.container = container;

var options = jQuery.extend({
content: null,
Expand Down Expand Up @@ -642,4 +644,4 @@ Number.prototype.pxToEm = String.prototype.pxToEm = function(settings){

var result = (settings.reverse == true) ? (pxVal * scopeVal).toFixed(2) + 'px' : (pxVal / scopeVal).toFixed(2) + 'em';
return result;
};
};