Revision 375a9cb5 snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_public_keys_view.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_public_keys_view.js
285 285

  
286 286
      toggle_content: function() {
287 287
        if (!this.content_visible) {
288
          this.content.slideDown();
288
          this.content.slideDown(function() {
289
            $(window).trigger("resize");
290
          });
289 291
          this.content_visible = true;
290 292
          this.content_toggler.addClass("open");
291 293
        } else {
292
          this.content.slideUp();
294
          this.content.slideUp(function() {
295
            $(window).trigger("resize");
296
          });
293 297
          this.content_visible = false;
294 298
          this.content_toggler.removeClass("open");
295 299
        }

Also available in: Unified diff