Commit 1c4104e08db36f8c3937ef530e173ce97ca24972
- Diff rendering mode:
- inline
- side by side
swtr/static/js/main.js
(3 / 3)
  | |||
695 | 695 | swtr.LDs.getAll({what: 'img-anno', | |
696 | 696 | success: function(data) { | |
697 | 697 | swtr.LDs.add(data); | |
698 | this.tagCloudView = new TagCloudView({collection: swtr.LDs}); | ||
698 | if(!swtr.tagCloudView) { | ||
699 | swtr.tagCloudView = new TagCloudView({collection: swtr.LDs}); | ||
700 | } | ||
699 | 701 | }}); | |
700 | 702 | }, | |
701 | 703 | destroy: function() { | |
702 | 704 | this.remove(); | |
703 | 705 | ||
704 | // $('#user-tag-cloud').html(''); | ||
705 | // $('#tags-tag-cloud').html(''); | ||
706 | 706 | } | |
707 | 707 | }); | |
708 | 708 |