summaryrefslogtreecommitdiff
path: root/addons/website_blog/static/src/js/s_latest_posts_frontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_blog/static/src/js/s_latest_posts_frontend.js')
-rw-r--r--addons/website_blog/static/src/js/s_latest_posts_frontend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_blog/static/src/js/s_latest_posts_frontend.js b/addons/website_blog/static/src/js/s_latest_posts_frontend.js
index fcc0ea087cf..f578852d7a6 100644
--- a/addons/website_blog/static/src/js/s_latest_posts_frontend.js
+++ b/addons/website_blog/static/src/js/s_latest_posts_frontend.js
@@ -2,11 +2,11 @@ odoo.define('website_blog.s_latest_posts_frontend', function (require) {
'use strict';
var core = require('web.core');
-var sAnimation = require('website.content.snippets.animation');
+var publicWidget = require('web.public.widget');
var _t = core._t;
-sAnimation.registry.js_get_posts = sAnimation.Class.extend({
+publicWidget.registry.js_get_posts = publicWidget.Widget.extend({
selector : '.js_get_posts',
disabledInEditableMode: false,