luis-almeida / filtrify

Beautiful advanced tag filtering with HTML5 and jQuery
Other
642 stars 113 forks source link

Identify initial load in Callback function #22

Open sudarshanrao7 opened 11 years ago

sudarshanrao7 commented 11 years ago

Hi,

Just love this plugin.Awesome work.Thanks for making and sharing it to the world :)

I have a requirement where i want to do certain actions when user makes a selection.

Currently i use the Callback function for the same. The only problem being callback function is also called during filrtrify load.(Not just when user makes a selection)

To circumvent this i cannot use the "query" object to check whether it contains value to determine if this is the first load callback as some times on page load i fill the "query" object.

Is there any thing iam missing in the options or is there any quick workaround you might suggest?

Once again thanks for this beautiful plugin.