Commit 4cfa6a37 authored by ricardo-teixeira's avatar ricardo-teixeira

Change sprite path

parent 753863e3
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -29,7 +29,7 @@ emojiApp.config(['$sceProvider', function($sceProvider)
}
}
$.emojiarea.spritesheetPath = '../assets/angular-chat-emoji-popup/dist/img/emojisprite_!.png';
$.emojiarea.spritesheetPath = '/assets/angular-chat-emoji-popup/dist/img/emojisprite_!.png';
$.emojiarea.spritesheetDimens = Config.EmojiCategorySpritesheetDimens;
$.emojiarea.iconSize = 20;
$.emojiarea.icons = icons;
......
......@@ -276,7 +276,7 @@
+ xoffset + 'px ' + yoffset + 'px no-repeat;';
style += 'background-size:' + scaledWidth + 'px ' + scaledHeight
+ 'px;';
return '<img src="../assets/angular-chat-emoji-popup/dist/img/blank.gif" class="img" style="'
return '<img src="/assets/angular-chat-emoji-popup/dist/img/blank.gif" class="img" style="'
+ style + '" alt="' + util.htmlEntities(name) + '">';
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment