Changeset 40458 in spip-zone for _plugins_/coloriage_dist/farbtastic


Ignore:
Timestamp:
Sep 1, 2010, 8:46:21 AM (10 years ago)
Author:
erational@…
Message:

eviter les conflits js dans le backoffice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/coloriage_dist/farbtastic/farbtastic.js

    r15421 r40458  
    99jQuery.farbtastic = function (container, callback) {
    1010  var container = $(container).get(0);
    11   return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback));
     11  if (container)
     12    return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback));
    1213}
    1314
Note: See TracChangeset for help on using the changeset viewer.