Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
remove smiley insertion into button
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Attardi committed Sep 10, 2019
1 parent 8185d05 commit d03e3e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions examples/public/style.css
Expand Up @@ -3,6 +3,7 @@ button {
font-size: 1em;
background: #EEEEEE;
border-radius: 5px;
cursor: pointer;
}

input {
Expand Down
3 changes: 0 additions & 3 deletions src/index.js
Expand Up @@ -4,7 +4,6 @@ import Emitter from 'tiny-emitter';
import Popper from 'popper.js';

import { EMOJI, SHOW_SEARCH_RESULTS, SHOW_TABS, HIDE_TABS, HIDE_VARIANT_POPUP } from './events';
import * as icons from './icons';
import { renderPreview } from './preview';
import { renderSearch } from './search';
import { renderTabs } from './tabs';
Expand All @@ -21,8 +20,6 @@ export default function emojiButton(button, callback) {

const events = new Emitter();

button.innerHTML = icons.smile;

function onDocumentClick(event) {
let parent = event.target;
while (parent) {
Expand Down

0 comments on commit d03e3e3

Please sign in to comment.