From 98b90c532f8fb533fe729a87800d47530d6628f2 Mon Sep 17 00:00:00 2001 From: Christian Zachariasen Date: Mon, 13 Feb 2017 12:52:29 +0100 Subject: [PATCH] Remove change event on old element when re-initializing selectify Call el.off("change") if .data("sl") is true. I have two selects on my page, and need to change the available option in the second select based on what's chosen in the first select. After an option is chosen on the first select, I call .selectify() on the second select to update its list of items. This alteration ensures that we don't hook up two "change" events to the same element if selectify() is called multiple times on the same