layout
layout copied to clipboard
Cannot read property 'split' of undefined
i use jquery-3.1.1 and jquery-ui-1.12.1 i get this error :
VM1567:1832 Uncaught TypeError: Cannot read property 'split' of undefined
in this line (1392):
sC.selector = $N.selector.split(".slice")[0];
jQuery 3 dropped the 'selector' property on objects. Just comment out that line of code in your copy of Layout. That property was copied to state.container only to provide extra information; it has no effect on functionally.
If you're like me, and use this plugin from a CDN and don't want to host it yourself, just monkey patch it:
(function ($){ $.fn.selector = { split: function() { return ""; }}; })(jQuery);