1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-27 07:45:08 +02:00
keeweb/plugins/examples/psychodelic/plugin.js
2017-02-21 21:20:43 +01:00

19 lines
456 B
JavaScript

/**
* KeeWeb plugin: psychodelic
* @author antelle
* @license MIT
*/
const DetailsView = require('views/details/details-view');
const detailsViewRender = DetailsView.prototype.render;
DetailsView.prototype.render = function() {
detailsViewRender.apply(this);
this.$el.find('.details__header:first').addClass('input-shake');
return this;
};
module.exports.uninstall = function() {
DetailsView.prototype.render = detailsViewRender;
};